[zeromq-dev] 0MQ packages - call for comments!

Martin Sustrik sustrik at fastmq.com
Mon Apr 20 14:37:50 CEST 2009


Holger,

>>> Is there a way to make the various low level protocols pluggable, say 
>>> loaded from an .so based on a config file (w/out lowering performance 
>>> too much of course...) ? If so that would be the best inclusion answer :)
>> The problem here is how to make on-demand load of modules work on all 
>> the supported platforms. My feeling is that it would be a non-trivial 
>> problem. If you are aware of any viable solution, let us know.
> 
> This is why the gods cursed us with libtool (which was invented exactly
> for this purpose). Still, you then get to decide whether the cure (using
> libltdl) is worse than the disease.. :)

Ack. Still, imagining that we're trying to make the whole thing work in 
environments as disparate as Linux, Win32 and OpenVMS gives me shivers.

Steve's idea of two packages, "full" vs. "min" seems quite neat though. 
No problem with delay-loaded libraries and users are still able to 
choose between min-dependecy and max-functionality setups.

> That being said, it certainly beats inventing your own plugin system.

Absolutely.

>> What's the common practice here? Istalling example source code or 
>> installing source code + binaries?
> 
> Some lump the examples together with the docs in /usr/doc/packagename and
> then give you the option of installing documentation - makes sense for
> servers vs. developer installs.

Sounds reasonable.

Martin



More information about the zeromq-dev mailing list