[zeromq-dev] UUIDs

Martin Sustrik sustrik at imatix.com
Mon Mar 15 14:04:11 CET 2010


gonzalo diethelm wrote:
>>> IMHO, this feature is not related to messaging itself. Thus,
> exporting
>>> such function to messaging API will only trash it, and 0MQ will end
>>> being another AMQP.
>> :-)  That would be a terrible fate indeed...
> 
> I thought of the same smiley here... ;-)
> 
>> But indeed 0MQ is not intended to be a portability library.  However a
>> very thin portability library could be useful.  We've used APR in some
>> projects but it's not that thin.
> 
> Exactly. UUIDs are (I believe) very common in messaging settings, and
> are used to identify nodes, messages, etc. Having one way of generating
> them, that works the same way across all bindings, would be useful, in
> my opinion.
> 
> Perhaps we could have zmq_util_XXX() functions and/or a zmq::util
> namespace where UUID functions (as well as the timer and sleeping
> functions, and perhaps the version function) are stashed.

Optionally, a separate zmqutils library...

Martin




More information about the zeromq-dev mailing list