News for hackers. Stuff that matters.
Re:Show HN: Generate Version 7 UUID's for a Timestamp by jasonthorsness on Tuesday March 11, 2025 @11:39AM (#43333563)
These time range queries using UUIDs are super useful. I don't understand why it took so long for UUIDv7 to become a standard. Even MongoDB had to use something custom (ObjectID) rather than UUID because this standard didn't exist.
Re:Show HN: Generate Version 7 UUID's for a Timestamp by ranger_danger on Tuesday March 11, 2025 @11:41PM (#43339751)
My understanding is UUIDv6 can also be sorted lexically as it also uses a timestamp (v1 has improper endianness for sorting).