4 ms·
> Each component is encoded with the Most Significant Byte first (network byte order). This seems a surprising choice. Even the PowerPC now supports little en
by RcouF1uZ4gsC 8y ago
> Each component is encoded with the Most Significant Byte first (network byte order).
This seems a surprising choice. Even the PowerPC now supports little endian. I would guess that 95%+ of all software is running in a little endian system and that any software that would use ULID is going to run in a little endian system. Other than for historical compatibility, I don't think there is any reason to use big endian today, and definitely not for greenfield protocols.
- adambrenecki 8y agoSurely if it were the other way around, the timestamp being LE would mean that the resulting strings no longer sort lexicographically in timestamp order?