[erlang-questions] erl_interface shared libraries
Kenneth Lundin
kenneth.lundin@REDACTED
Sun Sep 9 12:13:52 CEST 2007
Hi Mike,
I think it would be quite stupid not to implement this protocol
directly in Smalltalk.
Implementing with use of Erlinterface will not save you any work
compared to the other solution and it will be less portable and less
efficient.
In the open source distribution of Erlang/OTP you should find a file
erts/emulator/internal_doc/erl_ext_dist.txt
which describes the protocol.
You can also look ath the Jinterface in that distribution and read the
doc and code
for the same thing written in Java.
Regards Kenneth Erlang/OTP team at Ericsson
On 9/9/07, Mike Hales <mike.hales@REDACTED> wrote:
> 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?
>
> Thanks,
>
> Mike
>
>
> On Sep 8, 2007, at 3:05 PM, Taavi Talvik wrote:
>
>
>
>
>
>
> The point of a shared library is probably to load erl_interface and
>
> use it via some kind of FFI, rather than bothering to write all of
>
> that code in C.
>
>
>
>
> There is no need to do anything in C. Erlang distribution has "defined"
>
> wire protocol (in erlang, C and java source code, unfortunately no
> documents).
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
More information about the erlang-questions
mailing list