News for hackers. Stuff that matters.
Re:ULID: Universally Unique Lexicographically Sortable Ident... by zeroimpl on Friday December 28, 2018 @12:55PM (#18778263)
The string representation is for display purposes/information exchange only. I'm sure most implementations would internally store the data in a 16-byte form (eg the C implementation uses __uint128_t), where the data is essentially a 128-bit number.

Given that, inventing a new character set seems pointless, since you'd compare the data using 128-bit binary operations already anyways (as opposed to lexicographical string comparisons). Which leads to the question - how is ULID different from UUID in practice?

Re:ULID: Universally Unique Lexicographically Sortable Ident... by dragonwriter on Friday December 28, 2018 @02:51PM (#18778979)
The difference is that time is at the front, so if you need to sort by milliseconds the ID was created, you can.
Re:ULID: Universally Unique Lexicographically Sortable Ident... by Solar19 on Friday December 28, 2018 @09:51PM (#18781455)
Thanks, that helps. By the way, why are they time stamped at the beginning, or at all?