[zeromq-dev] Making language bindings work with both maint andmaster
Martin Lucina
mato at kotelna.sk
Mon Oct 4 17:00:38 CEST 2010
sustrik at 250bpm.com said:
> 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?
In terms of functionality needed to be provided by 0MQ, no.
The only thing I'm not sure of is what is the best kind of version macro(s)
to define... I'll have a think about it and look at the various options;
will get back to this tomorrow.
-mato
More information about the zeromq-dev
mailing list