[erlang-questions] 0MQ libraries

Andreas Schultz <>
Mon Feb 10 16:12:36 CET 2014


Hi Joe,

gen_zmq is pure Erlang and talks to libzmq 2.0 implementations.
Since newer limzmq versions are backward compatible, using it to
talk to them should work.

In case the gen_socket dependency worries you, that can easily be
removed (only used for UNIX sockets). In fact I plan to remove that
soonish.

There is also rebar support pending in a review:

https://github.com/RoadRunnr/gen_zmq/pull/1

Andreas

----- Original Message -----
> 
> 
> 
> On Sat, Feb 8, 2014 at 7:49 PM, Serge Aleynikov <  >
> wrote:
> 
> 
> 
> Just to add a piece of history - I was an author of the original driver-based
> implementation of the Erlang ZMQ binding ( https://github.com/zeromq/erlzmq
> ), which got more or less obsolete after Yurii Rashkovskii implemented his
> NIF-based version ( https://github.com/zeromq/erlzmq2 ).
> 
> Concerning your question, I haven't had a use for this project for a while,
> but if there is anyone wishing to join the project and bring it up to date
> that would be great. Though I agree that a pure-Erlang wire-level
> implementation would be of greater interest.
> 
> I'm only interested in the pure erlang solution. NIFs worry me. They break
> the guarantees, they muck
> up the scheduler and so on. They should only be used when you've tried very
> very very vary hard
> not to use them.
> 
> In the problem I want to solve I don't expect communication to be a
> bottleneck.
> 
> I'd like a 100% correct Erlang reference implementation of 0MQ. This (if
> done) might have the interesting
> side effect that it could be used (say with quick check) test the
> C-implementations of 0MQ.
> 
> Cheers
> 
> /Joe
> 
> 
> 
> 
> Serge
> 
> 
> On Thu, Jan 30, 2014 at 4:13 PM, Joe Armstrong <  > wrote:
> 
> 
> 
> Is anybody working on upgrading the 0MQ libraries for erlang to
> the latest version of 0QM.
> 
> /Joe
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
> 
> 
> 
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
> 

-- 
-- 
Dipl. Inform.
Andreas Schultz

email: 
phone: +49-391-819099-224
mobil: +49-170-2226073

------------------- enabling your networks -------------------

Travelping GmbH               phone:         +49-391-819099229
Roentgenstr. 13               fax:           +49-391-819099299
D-39108 Magdeburg             email:       
GERMANY                       web:   http://www.travelping.com

Company Registration: Amtsgericht Stendal Reg No.:   HRB 10578
Geschaeftsfuehrer: Holger Winkelmann | VAT ID No.: DE236673780
--------------------------------------------------------------



More information about the erlang-questions mailing list