Hacker News new | ask | show | jobs
by chrisandchris 2087 days ago
So you basically mean UUID v6, the missing version of UUID which would be sortable too [1] [2]

[1] https://tools.ietf.org/html/draft-peabody-dispatch-new-uuid-... [2] http://gh.peabody.io/uuidv6/

2 comments

It's funny that this took so long since multiple people in this thread (including me) mentioned that they implemented their own UUID generation function which encodes the timestamp into the first bits just to create sortable UUIDs.
It appears that UUID v6 is still a proposal, as of August 2020.

Also, this sounds like a non-starter for UUID v6:

"Like version 1 UUIDs, version 6 UUIDs use a MAC address from a local hardware network interface."

https://uuid.ramsey.dev/en/latest/nonstandard/version6.html