RubyInline

RubyInline is an embedded C code in Ruby scripts.
Download

RubyInline Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • zenspider
  • Publisher web site:
  • http://rubyforge.org/projects/rubyinline/

RubyInline Tags


RubyInline Description

RubyInline is an embedded C code in Ruby scripts. 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).Here are some key features of "RubyInline":· 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.Requirements:· Ruby - 1.6.7 & 1.8.2 has been used on FreeBSD 4.6+ and MacOSX.· POSIX compliant system (ie pretty much any UNIX, or Cygwin on MS platforms).· A C/C++ compiler (the same one that compiled your ruby interpreter).· test::unit for running tests ( http://testunit.talbott.ws/ ).· rubygems if you'd like.Installation· make test (optional)· make install


RubyInline Related Software