<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">I was thinking of using the Smalltalk FFI.  Although I would not be opposed to writing a pure Smalltalk implementation, as this would then be portable across platforms, and the easiest to distribute to the Smalltalk community. (Also, I would probably be faster in Smalltalk, than fumbling around with C.)  If one were to look for this "defined" wire protocol in the erlang code, where would one do it?<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Mike</DIV><DIV><BR><DIV><DIV>On Sep 8, 2007, at 3:05 PM, Taavi Talvik wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 10.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">The point of a shared library is probably to load erl_interface and</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">use it via some kind of FFI, rather than bothering to write all of</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">that code in C.</FONT></P> </BLOCKQUOTE><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">There is no need to do anything in C. Erlang distribution has "defined"</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">wire protocol (in erlang, C and java source code, unfortunately no documents).</FONT></P> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>