Re:Moving Away from UUIDs
by postalrat on Monday November 21, 2022 @07:52PM
(#33700392)
Any time I get what looks like a UUID from a service not under my control and I can't guarantee will always be a UUID.
[ Parent
| on HN ]
Re:Moving Away from UUIDs
by BeefWellington on Tuesday November 22, 2022 @09:06AM
(#33705887)
Sure but at that point you're talking about external systems anyways, and the same would be true for any identifier they give you. One day that int may change into a raw byte array, string, braille, emoji-encoded[1], you name it.
This article is about scenarios where it IS under your control.
You can still store and process it as a large integer, rather than a less efficient string, unless something in your stack is enforcing validation of the version/variant bits.
Unless your concern is more that they may not be unique enough due to bad choices in their derivation function, but this will not change no matter what representation you store them in.