Language Bindings for Erlang

Mats Cronqvist <>
Mon May 22 15:36:29 CEST 2006


> 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.

   mats



More information about the erlang-questions mailing list