[erlang-questions] integrating nodejs with erlang code

Eduardo Gurgel <>
Tue Apr 9 14:11:49 CEST 2013


On Mon, Apr 8, 2013 at 12:37 PM, aman mangal <> wrote:

>
> Hi,
>
> What is the most efficient way to pass events/data from erlang processes
> to nodejs and vice versa? Setting up a tcp socket may be slower or
> inefficient. I was thinking of doing something native. Both erlang and
> nodejs provide libraries(NIF) to call C functions but none of them provide
> an efficient implementation for calling erlang/nodejs functions from C or
> C++ as far as I know. Please suggest some ideas!
>
>
You could take a look on BERT RPC:

https://github.com/rtomayko/node-bertrpc

https://github.com/mojombo/bert.erl

Right now, bert-rpc.org is returning 404, but it was up two days ago:

http://bert-rpc.org/

Maybe checking cached webpage on bert-rpc.org may help you.

--

Eduardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130409/cbfb963c/attachment.html>


More information about the erlang-questions mailing list