Language Bindings for Erlang

Torbjorn Tornkvist tobbe@REDACTED
Fri May 26 08:20:28 CEST 2006


I think it is unfortunate that there doesn't exist a quick 
and easy way to create efficient interfaces with a C 
library. Once upon a time there was IG:

   http://www.tornkvist.org/oldstuff/ig/doc.new/

I also belive that Scott Lystig Fritchie wrote something in
this area. An Erlang add-on to SWIG would be nice...

   http://www.swig.org/

Preferably, one should be able to choose creating a 
port-program, linked-in driver, C-node interface.
It is up for grabs; anyone ?

--Tobbe

Jeff Crane wrote:
> --- Taavi Talvik <taavi@REDACTED> wrote:
> 
>>Better to think how to glue to "some other tool most
>>appropriate
>>for my problem".
> 
> 
> Um, like another language more appropriate to the
> task? It's like C or Erlang are the only appropriate
> tools, as far as responders are concerned. Logically
> and practically incorrect. Of course OpenGL was used
> by the Wings3D TEAM who have had copious amounts of
> time to develop for and happen to SPECIALIZE in
> graphical design. No surprise there.
> 
> <snip>
> %% Have to REALLY know C to use these, how is that 
> %% appropriate for learning or TEACHING usable Erlang?
> OpenGL, 
> Gtk, 
> esdl,
> xlib == native implementation of X11 protocol
> </snip>
> 
>>even make generic binding to C language
> 
> 
> I thought this is what I was asking about. Why would
> port or inline driver be better than a C Node or
> Erl_interface? They are all generic bindings to C!
> What are the effective differences?
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 




More information about the erlang-questions mailing list