24 Dec 20:45
[ruby-announce] RubyInline 3.0.0 Released
Ryan Davis <ryand-ruby <at> zenspider.com>
2003-12-24 19:45:47 GMT
2003-12-24 19:45:47 GMT
RubyInline version 3.0.0 has been released! 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. http://www.sf.net/projects/rubyinline/ Changes: + Complete rewrite with new design. + Multiple language support, works with C/C++ out of the box. + Multiple functions per compilation unit, now allowing entire classes to be defined and linked in one unit.(Continue reading)
RSS Feed