ffi-rzmq 0.7.2
This gem wraps the ZeroMQ networking library using the ruby FFI (foreign function interface). It's a pure ruby wrapper so this gem can be loaded and run by any ruby runtime that supports FFI. That's all of them: MRI 1.9.x, Rubinius and JRuby. The impetus behind this library was to provide support for ZeroMQ in JRuby which has native threads. Unlike MRI, IronRuby and Rubinius which all have a GIL, JRuby allows for threaded access to ruby code from outside extensions. ZeroMQ is heavily threaded, so until the other runtimes remove their GIL, JRuby will likely be the best environment to run this library.
Gemfile:
=
install:
=
Development Dependencies (1):
bones
>= 3.5.4