[zeromq-dev] Making language bindings work with both maint and master
mato at kotelna.sk
Mon Oct 4 16:59:06 CEST 2010
sustrik at 250bpm.com said:
> We have to think of a way to make language bindings work with both maint
> and master.
I don't really see a problem with actual *work* involved all that much.
Given that all the official bindings are designed to be really thin
wrappers and that 0MQ 2.0.x is in deep API/ABI freeze there is no
forseeable maintenance to be done for 2.0.x, no?
> Obviously, each language binding maintainer could have maint and master
> branch as well, however, maintaining two branches is too big a burden
> for a small project like that.
The actual process in use is IMO up to each maintainer; we can provide a
template if this would be useful but ultimately (and especially with
language communities), everyone has their own preferred distribution
> There's a zmq_version function that returns version number of the
> installed libzmq, however, that won't help much in most cases.
> Mikko recently suggested to define a version macro in zmq.h, something like:
If maintainers do want to try to provide a "one-size-fits-all" binding then
yeah, we'd want to add version macros in zmq.h to allow for detection using
these as well.
Ultimately though I think that a well-maintained binding
will just have to support two 0MQ versions (current stable/maint and
More information about the zeromq-dev