[zeromq-dev] ruby binding for zmq
Charles Remes
lists at chuckremes.com
Thu Apr 18 13:52:09 CEST 2013
rbzmq is a C extension. It can be used with MRI or Rubinius (but JRuby no longer supports C extensions).
ffi-rzmq uses FFI to interface to libzmq so it is supported by *all* of the Ruby runtimes. I'm the author and may be a bit biased, but it is updated, tested and used quite a bit more than rbzmq.
The APIs exposed by each of them are incompatible meaning that you can't write code for rbzmq and then switch to ffi-rzmq without changing some of your code. I tried to sync this up some time ago but we couldn't agree on how to do it.
I suggest that you use ffi-rzmq.
On Apr 18, 2013, at 12:27 AM, Pritesh Acharya <priteshacharya at gmail.com> wrote:
> I tried rbzmq from https://github.com/zeromq but it doesn't install. I think this binding is no longer support for newer zmq. When I looked around i found ffi-rzmq is also ruby binding for zmq. I wanna know the difference between gem zqm and ffi-zmq. Which one should I use ?
> Thanks,
> Pritesh
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130418/f6c21e10/attachment.htm>
More information about the zeromq-dev
mailing list