[erlang-questions] integrating nodejs with erlang code
Wed Apr 10 17:46:34 CEST 2013
The most efficient way of connecting Erlang with node.js would be, of course, to implement JS and hence node.js in Erlang. Maybe not the easiest way, but definitely the most efficient connection. :-)
----- Original Message -----
> From: "Joe Armstrong" <>
> To: "Eduardo Gurgel" <>
> Cc: "Ali Attarwala" <>, "Shailesh Tyagi"
> <>, "wncc iitb" <>,
> "Erlang" <>, "chirag jain"
> Sent: Wednesday, 10 April, 2013 11:14:19 AM
> Subject: Re: [erlang-questions] integrating nodejs with erlang code
> Just curious, but what is the *least efficient* way of connecting
> node.js to Erlang.
> If I were doing this I'd start with the least efficient method, build
> my app, measure, then optimize if
> If the optimization is not necessary you have saved yourself a whole
> lot of work.
> Alternatively, write the code and if it is not fast enough wait ten
> On Tue, Apr 9, 2013 at 2:11 PM, Eduardo Gurgel < >
> > 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
> > _______________________________________________
> > erlang-questions mailing list
> > http://erlang.org/mailman/listinfo/erlang-questions
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions