[erlang-questions] best practice for calling C from Erlang
Attila Rajmund Nohl
attila.r.nohl@REDACTED
Mon Dec 13 15:53:39 CET 2010
2010/12/13, Timo Lindemann <timo.lindemann@REDACTED>:
> Hi,
>
> I have made good experiences with the new NIF interface, having hacked an
> interface to libtidy in one afternoon, and I didn't even know what NIFs were
> until that morning, so I can definitely say that this is a very easy
> interface for crossing the boundary quickly. Automatic generation of an
> interface I don't know much about, I just wanted to chime in to say that
> NIFs are easy to do, and the wrapper is so thin you might not need to
> autogenerate it, there's very little boilerplate left to autogenerate.
Surely it's not much for one function. But for 125 functions it worth
considering generating code...
More information about the erlang-questions
mailing list