[zeromq-dev] Forwards compatibility from 2.1 to 3.0

Pieter Hintjens ph at imatix.com
Sun Apr 10 13:07:38 CEST 2011


Hi all,

I've summarized the differences (so far) between the 2.1 and 3.0 APIs,
and their impact on applications, here:

http://www.zeromq.org/docs:3-0-upgrade

The good news is that it's relatively painless for bindings which have
a C/C++ layer to support both APIs.

The areas which will need more work (outside libzmq) are:

* replacing zmq_device
* replacing ZMQ_SWAP
* handling the new socket options (a lot of detail)

For the last case, any binding author who wants to use the code
generation approach I've used in libzapi is welcome to ask.

-Pieter



More information about the zeromq-dev mailing list