Rubynet-announce Digest, Vol 10, Issue 1

Send rubynet-announce mailing list submissions to
rubynet-announce@lists.rubynet.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.rubynet.org/lists/listinfo/rubynet-announce
or, via email, send a message with subject or body ‘help’ to
rubynet-announce-request@lists.rubynet.org

You can reach the person managing the list at
rubynet-announce-owner@lists.rubynet.org

When replying, please edit your Subject line so it is more specific
than “Re: Contents of rubynet-announce digest…”

Today’s Topics:

  1. RubyInline 3.0.0 Released (Ryan Davis)
···

Message: 1
Date: Wed, 24 Dec 2003 11:45:47 -0800
From: Ryan Davis ryand-ruby@zenspider.com
Subject: [ruby-announce] RubyInline 3.0.0 Released
To: Ruby Announce announce@rubynet.org
Message-ID: C51C8189-3649-11D8-BFAE-000393CC0C3C@zenspider.com
Content-Type: text/plain; charset=US-ASCII; format=flowed

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.

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.


rubynet-announce mailing list
announce@rubynet.org
http://lists.rubynet.org/lists/listinfo/rubynet-announce

End of rubynet-announce Digest, Vol 10, Issue 1