I’ve been building a small embedded key-value database in Zig:
https://github.com/lispking/kvdb
It’s a from-scratch project meant to explore storage engine internals in a compact codebase. Right now it has:
* B-tree indexing
* WAL-based durability and crash recovery
* ACID transactions
* 4 KB page-based storage
* in-memory page cache
* zero external dependencies
* a CLI for basic operations
I also added prebuilt binaries and a simple Zig API.
Still very early, but usable enough for experimentation. I’d especially appreciate feedback on the storage/WAL design and what would make a project like this more compelling to other Zig developers.
Thanks.