[m-dev.] proposal: add uuid module to the standard library

Zoltan Somogyi zoltan.somogyi at runbox.com
Sat Oct 31 17:22:09 AEDT 2020


2020-10-31 17:18 GMT+11:00 "Peter Wang" <novalazy at gmail.com>:
> We do have a uuid module in Prince but all it does is generate random
> UUIDs by reading from a cryptographic RNG (which is platform specific)
> and knocking out the relevant bits, and converting the uuid to a string
> or byte array representation.

Julien's module does that too.

> I'm not sure why anyone ever needs to
> inspect the internal structure of a UUID.

I don't either. But if the structure is published, then I see no point
in hiding it either.

Zoltan.


More information about the developers mailing list