[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

ANN: RubyInline 3.3.1 Released

Ryan Davis

5/4/2005 1:09:00 AM

RubyInline version 3.3.1 has been released!

http://www.zenspider.com/ZSS/Products/R...
http://rubyforge.org/projects/r...

** DESCRIPTION:

Ruby Inline is an analog to Perl's Inline::C. Out of the box, it
allows you to embed C/++ external module code in your ruby script
directly. By writing simple builder classes, you can teach how to cope
with new languages (fortran, perl, whatever). The code is compiled and
run on the fly when needed.

Using the package_inline tool Inline now allows you to package up
your inlined object code for distribution to systems without a
compiler (read: windows)!

** FEATURES/PROBLEMS:

+ Quick and easy inlining of your C or C++ code embedded in your ruby
script.
+ Extendable to work with other languages.
+ Automatic conversion between ruby and C basic types
+ char, unsigned, unsigned int, char *, int, long, unsigned long
+ inline_c_raw exists for when the automatic conversion isn't
sufficient.
+ Only recompiles if the inlined code has changed.
+ Pretends to be secure.
+ Only requires standard ruby libraries, nothing extra to download.
+ Can generate a basic Rakefile and package up built extensions for
distribution.

http://www.zenspider.com/ZSS/Products/R...
http://rubyforge.org/projects/r...

Changes:

+ 3 bug fixes
+ Fixed a bug w/ unit tests involving caching of rootdir.
+ Added a minor tweak to the file discovery when called through eval.
+ Moved the packaging code into inline.rb in order to get rubygems
wrapped scripts to work again (wrapper was breaking due to __FILE__ !=
$0).

http://www.zenspider.com/ZSS/Products/R...
http://rubyforge.org/projects/r...

--
ryand-ruby@zenspider.com - http://blog.zens...
http://rubyforge.org/projec...
http://rubyforge.org/projects/r...
http://www.zenspider.com/...