[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.2.0 Released

Ryan Davis

11/28/2004 12:56:00 AM

RubyInline version 3.2.0 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.

** 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 uses standard ruby libraries, nothing extra to download.

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

Changes:

+ 8 minor enhancements
+ Gemified
+ Added #line preprocessor directives to make debugging inside your
ruby file practical.
+ Added uninstall rule to Makefile
+ Inline::C now generates classes directly instead of included modules.
+ Better execeptions are thrown on error.
+ Incorporated a bunch of changes from Jonathan Paisley:
+ Generation of inline'd class methods. (c_singleton and
c_raw_singleton)
+ Fixed problems with nested module/classes.
+ Inline can now extend the same class multiple times.
+ 2 bug fixes
+ Smarter require/instantiation to accomodate other languages better.
+ Fixed a logic error where running good code, then bad, then bad
again ran the original good code.

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