C to Erlang

Per Hedeland per@REDACTED
Fri Jun 30 21:10:34 CEST 2000


Martin Logan <martin@REDACTED> wrote:
>I have been hacking erlang for a few weeks now and have found, so far,
>that it meets and surpasses all my expectations, and more importantly,
>needs. I know that erlang has the ability to interface with C. I am now
>working on a project that is going to require the reverse.  Can anyone
>tell me if it is possable to call erlang modules from C or C++.

Well, depending on exactly what semantics you associate with "call", the
erl_interface library could be what you're looking for. It lets a "C
node" communicate with distributed Erlang nodes, and part of the
functionality this provides is of course the possibility to make remote
procedure calls - i.e. you can call an Erlang function in an Erlang node
from your C node.

--Per Hedeland
per@REDACTED



More information about the erlang-questions mailing list