Back to browse
GitHub Repository

an immutable database for zig

98 starsZig

XitDB – an immutable single-file database

by xeubie·Apr 17, 2026·8 points·0 comments

AI Analysis

●●●BangerBig BrainZero to One

Datomic-style immutability in a SQLite-sized embedded library — genuinely novel combination.

Strengths
  • Immutable transactions enable time-travel queries without WAL or snapshot complexity.
  • Zero dependencies beyond Zig stdlib means trivial embedding in any project.
Weaknesses
  • No query engine means you build your own access patterns — power and complexity.
  • Young project with 66 stars — production battle-testing is still ahead.
Target Audience

Developers needing time-travel queries or audit trails in embedded apps

Similar To

Datomic · SQLite · XTDB

Post Description

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.

Similar Projects