|
|
|
|
|
by emidln
1876 days ago
|
|
I've used something very similar in the past, called SimpleFlake[0], which is essentially a 64 bit version with the same principles. I've used it in Lisp, C, C++, Clojure, Python, and Rust. It's conceptually simple, and fits in a 64bit int, which is natively available in a lot of databases. [0] SimpleFlake - https://github.com/SawdustSoftware/simpleflake/blob/f2b51f76... |
|