[zeromq-dev] Making language bindings work with both maint andmaster

Martin Sustrik sustrik at 250bpm.com
Mon Oct 4 13:20:07 CEST 2010


Hi all,

> I think each language would have a preferred way to maintain such bindings,
> and to tie the main library and the bindings like that may work for
> one language,
> but would cause severe pain for others. I'd vote for a much looser coupling
> of between the main library and the bindings, such as via #define ZMQ_VERSION or
> an external script like zmq-config I proposed above.

Daisuke is right about each language binding having different preferred 
way. Even if there was a single best way, the bindings are independent 
projects and nobody can force the maintainers to use this or that system.

The goal is to make 0mq core make it easy for each binding to use its 
preferred way.

What we have so far is version retrieval via pkgconfig and via a 
function (zmq_version). What's missing is a version macro. I'll take 
care of adding that into the core.

Have I missed anything?

Martin




More information about the zeromq-dev mailing list