M
Modular3mo ago
sazid

Fireflake: A snowflake id generator in Mojo

Hi all! I've written a new library that generates Snowflake IDs. Quoting Wikipedia: Snowflake ID:
Snowflake IDs, or snowflakes, are a form of unique identifier used in distributed computing. The format was created by Twitter (now X) and is used for the IDs of tweets.[1] It is popularly believed that every snowflake has a unique structure, so they took the name "snowflake ID". The format has been adopted by other companies, including Discord and Instagram. The Mastodon social network uses a modified version.
:github: Repository - https://github.com/sazid/fireflake I've yet to write tests for this, any suggestions or improvements are welcome!
GitHub
GitHub - sazid/fireflake: Implementation of Snowflake ID for Mojo 🔥...
Implementation of Snowflake ID for Mojo 🔥. Contribute to sazid/fireflake development by creating an account on GitHub.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server