[zeromq-dev] [PATCH] uuid_t source code significantly simplified

Martin Sustrik sustrik at 250bpm.com
Tue Apr 26 15:29:47 CEST 2011


On 04/26/2011 03:22 PM, Pieter Hintjens wrote:

> Is there any proof that different architectures will cause collisions
> in UUID space? Do we suspect that byte ordering affects the algorithm?

Yes. The UUID although it looks like a bunch of bytes is actually a 
structure. The structure contains short and long integers which are 
normally affected by microarchitecture endianness.

What should be done at least is that someone should read RFC4122 and 
find out whether those multi-byte integers are in architecture dependent 
byte format or whether they are meant to be big- or small- endian.

Martin



More information about the zeromq-dev mailing list