Alternatives
Products that do what XID – Dependency-Free Unique ID Generator in One C File does
XID generates 20-character globally unique IDs (48-bit timestamp + 64-bit entropy + 8-bit counter + 5-bit checksum) in a single C file with zero dependencies. Features built-in timestamp extraction, collision resistance, and portable design for any platform - ideal for databases, IoT, and distributed systems. char id = xid_generate(); // => "01H5Z7K4W9A3B6C8D0F2G" Gists: https://gist.github.com/Ferki-git-creator/17450d52d143f746f0... (Feedback wanted: entropy improvements, embedded use cases, optimizations)*
- 1SD
2020 · github.com
- 2ST
2020 · github.com
- 3GA
2020 · greg-calendar.vercel.app
- 4XA
I couldn't find a database that was immutable (like Datomic) and embedded (like SQLite), so I made one. The reference impl is in Zig and there are now ports for Java, Clojure, TypeScript, and Go.
Apr 2026 · github.com
- 5AS
2019 · github.com
- 6FA
2021 · github.com
- 7CA
2021 · github.com
- 8AK
I kept reaching for Hashids/Sqids to keep sequential IDs out of URLs, but they don't use a real key — the alphabet is shuffled by a salt, and the Sqids FAQ says outright "there is no encryption of any kind." arxid is a keyed reversible permutation instead: a balanced Feistel network with an ARX (add-rotate-xor) round function over a 40-bit domain, mapping to a 7-char base62 code. Feed it an integer, get an unpredictable code back; same key reverses it. Runs ~16x faster than a structurally identical Feistel using HMAC-SHA256, because the round function is integer ops instead of a hash…
Aug 2026 · github.com
- 9AC
2021 · github.com
- 10SH
2015 · github.com
- 11FI
2015 · github.com
- 12AL
2016 · github.com
- 13AD
Hey hackernews! I'd like to share a hobby and passion project I've been working on for almost a year now. It's an open-source storage engine (underlying component of a database(s)) similar to that of LevelDB/RocksDB but written entirely in C. The storage engine is called TidesDB. TidesDB is written entirely in C. It's designed as a fast, transactional key-value storage engine built on a log-structured merge-tree (LSM-tree) architecture. My journey with TidesDB began nearly 2 years ago whilst I was experimenting with various data structures and databases in Go. When I encountered the…
2025 · github.com
- 14UN
Need a fast, easy-to-use, and memorable UUID/Guid generator? Built with the power and elegance of F#! https://uuid.now is here! One-click copy Zero UUID support Browser-based (Crypto API) Fully open source Explore the source code here: https://github.com/OnurGumus/uuid.now
2024 · uuid.now
- 15LR
I just noticed it takes literally ~5 minutes to train millions parameters on slow CPU...but before you call Yudkowsky that "it's over", an important note: the main bottleneck is the corpus size, params are just 'cleverness' but given limited info it's powerless. Anyway, here is the project: https://github.com/bggb7781-collab/lrnnsmdds/tree/main couple of notes: 1. single C file, no dependencies. Below are literally all the "dependencies", not even custom header (copy paste from the top of the single c file): #define _POSIX_C_SOURCE 200809L #include #include…
Apr 2026 · raw.githubusercontent.com
- 16EI
2016 · github.com
- 17AA
2017 · github.com
- 18CC
2020 · github.com
- 19SM
2021 · github.com
- 20NA
2019 · github.com
- 21FI
2021 · crates.io
- 22C2
2018 · github.com
- 23AG
2018 · asciitabs.com
- 24OA
2016 · github.com
Ranked by how close each launch is in meaning, then by votes. Refine with a description →