← Back to projects

Software project

libtab

Tabular storage in Plan 9 ndb syntax

CActive

https://github.com/kiljoy001/libtab

libtab stores tables as plain attribute-value text in Plan 9 ndb syntax. A row is identified by the hash of its canonical content, and the library adds an in-memory index, typed cells, quoting, and atomic commits.

Hashed and signed cells are backed by Monocypher, and a streaming writer avoids materializing a whole table before the first byte reaches disk.

Highlights

  • Rows are content-addressed and deduplicated by a BLAKE2b hash.
  • Example tests, property tests with theft, and ASan/UBSan runs.
  • The C implementation is the source of truth for Go and Python bindings.