<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1">
</HEAD>
<BODY>
On Wed, 2008-04-16 at 05:16 -0700, Tim Fletcher wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">>      2. Has/is someone already done/already doing such?  (I did a quick</FONT>
<FONT COLOR="#000000">>         search on this on Google and hit a few projects, none of which</FONT>
<FONT COLOR="#000000">>         seemed to be as complete as, say, jinterface at first blush.)</FONT>

<FONT COLOR="#000000">Hot off the press:</FONT>

<FONT COLOR="#000000"><A HREF="http://ola-bini.blogspot.com/2008/04/connecting-languages-or-polyglot.html">http://ola-bini.blogspot.com/2008/04/connecting-languages-or-polyglot.html</A></FONT>
</PRE>
</BLOCKQUOTE>
<BR>
That's very interesting, but it's for Jruby -- a Ruby implemented in Java.  So really it's a paper-thin ruby wrapper around JInterface.  (An idea I already experimented with because I dreaded the thought of replicating all of JInterface in Ruby. :D).<BR>
<BR>
Unfortunately JRuby, while a very good platform, doesn't <B>quite</B> replace Ruby proper.  Specifically all the C-based extension gems don't work with JRuby (for obvious reasons).  A native Ruby implementation is still necessary.<BR>
<BR>
At this point I'm toying with either putting a wrapper around erl_interface as a Ruby extension or hand-coding everything in Ruby.  The former has the advantage of being the quicker to hit "market" (so to speak) but the disadvantage of not being portable to any other Ruby implementation (JRuby, Rubinius, IronRuby, etc.).  The latter would be a sizable job to write, but would work on any remotely-compatible Ruby implementation.<BR>
<BR>
Decisions, decisions.  :)<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
<B>Michael T. Richter</B> <<A HREF="mailto:ttmrichter@gmail.com">ttmrichter@gmail.com</A>> (<B>GoogleTalk:</B> ttmrichter@gmail.com)<BR>
<I>In his errors a man is true to type. Observe the errors and you will know the man. (孔夫子)</I>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>