Language Bindings for Erlang
Thu May 25 18:39:10 CEST 2006
>From the erlang interoperability faq
there's 4+ ways to write a C++ erl-message reader.
I want to forward messages from Erlang to and from a
Python GUI via middleware. Would a C Port, C Node, or
C Driver be more approriate?
Also the FAQ is poor at describing how an
Erl_interface implementation differs from a C Node
since they both seem to use Erl_interface except that
the C Node seems overly complicated by comparison.
The C Linked Driver (also uses Erl_interface) is a
static driver which I *think* would be most
appropriate, but I would like some input, thx!
--- Mats Cronqvist <>
> > So the approach I would use is to write a C++
> program that reads
> > easily parsed instructions on stdin and writes
> events from input and
> > other things to stdout. From erlang you can then
> create a port that
> > starts this program, and you can communicate with
> it through the port.
> > Make a gen_server own the port and turn erlang
> terms into the "wire"
> > protocol.
> gtkNode (@ jungerl.sourceforge.net) does
> (basically) this. except with the
> twist that the C program implements the erlang
> distribution protocol (a c-node
> in erlang lingo). if gtk2 is good enough for your
> gui you can probably use it
> right away.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the erlang-questions