←back to thread

68 points der_gopher | 1 comments | | HN request time: 0s | source
Show context
nighthawk454 ◴[] No.46210767[source]
Mentioned in the article's comments:

> Why not use UUID7?

> "ULID is much older than UUID v7 though and looks nicer"

For those unfamiliar, UUIDv7 has pretty much the same properties – sortable, has timestamp, etc.

ULID: 01ARZ3NDEKTSV4RRFFQ69G5FAV

UUIDv7: 019b04ff-09e3-7abe-907f-d67ef9384f4f

replies(3): >>46211241 #>>46211420 #>>46211514 #
1. wood_spirit ◴[] No.46211514[source]
UUID 7 is so much easier than the ULID in the article manipulate. Pretty much every language and database has the string manipulation and from_hex functions to extract the timestamps without any special support function. Whereas a format that is too clever is way more complicated to work with.