[ruby-announce] RubyInline 2.3.0 released

Ryan Davis <[email protected]> Tue, 5 Aug 2003 20:22:31 -0700
Newsgroups gmane.comp.lang.ruby.announce
Message-ID <[email protected]>
RubyInline 2.3.0 has been released!

http://sourceforge.net/projects/rubyinline/

Ruby Inline is my quick attempt to create an analog to Perl's
Inline::C. It allows you to embed C or C++ external module code in
your ruby script directly. The code is compiled and run on the fly
when needed. The ruby version isn't near as feature-full as the perl
version, but it is neat!

FEATURES/PROBLEMS:

+ Quick and easy inlining of your C or C++ code embedded in your ruby 
script.
+ Rudimentary 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.
+ Simple as it can be. Less than 230 lines long... um... sorta simple.

CHANGES:

Added a nice tutorial on profiling.
Added C++ tweaks to make it happy with C++ (only tested with GNU so 
far).
Added globals so you can add extra libraries and flags to the compiler.
Added a C++ example.

http://sourceforge.net/projects/rubyinline/