State of Erlang and C/C++ integration?
Asked Answered
H

1

7

If we check the official documentation we can find various ways of interfacing Erlang and C/C++. A similar question was asked here in 2009 and I would like to know how the things changed since then.

Is there any mature stable library that does all the dirty work of implementing binary protocols between Erlang and C? Is it ei or erl_interface and what is the difference between them?

I mean this seems to be a quite common problem and I hope that someone has successfully solved it already and there is no need to write your own Erlang Port Driver anymore, since most of it is generic code.

P.S. I have also found this library: EPAPI.

Hipster answered 7/5, 2012 at 18:9 Comment(0)
A
4

Nothing have changed significantly since 2009, the top answer from the question you linked is still correct.

NIFs became less experimental starting from R14 and are actively used in some projects, but they are still incompatible with HiPE compiler (native flag to compile).

Allenaallenby answered 10/5, 2012 at 15:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.