From 38d21b0cb34ef1f555e5bda8155150bda9bfbaee Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 5 Nov 2026 13:48:37 -0300 Subject: build: xitdb, the database pardes's disk state is to go through (architecture §14), vendored as every dependency is: `zig fetch --save=xitdb` of the tarball of github.com/xit-vcs/xitdb at its pinned commit 6b93af1a (Zig 0.17, MIT, no dependencies) into build.zig.zon and zig-pkg, and imported by every core module (wireCore); pure Zig, so there is no C library to share and no allocator hook to set (it allocates through the allocators it is given), its row in docs/shared-libs.md; nothing uses it yet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- docs/shared-libs.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/shared-libs.md') diff --git a/docs/shared-libs.md b/docs/shared-libs.md index 662579ea..fe6c5018 100644 --- a/docs/shared-libs.md +++ b/docs/shared-libs.md @@ -50,6 +50,7 @@ and gui columns are the two binaries. | Parsing | tree-sitter | pardes | 1 → 1 | | `ts_set_allocator` → c_heap | | Window, input, GPU | SDL 3.4.18 | gui | 1 → 1 | 1009 KiB | `SDL_SetMemoryFunctions` | | Compress and decompress a far replica's stream (2026-10-30) | zstd 1.5.7 (the upstream tarball; build.zig compiles its lib/: no assembly, no threads, the dfast and lazy block compressors alone) | src/replica.zig | 0 → 1 | 380 KiB tty (516 with every block compressor) | `ZSTD_customMem` → c_heap | +| On-disk databases: the state file (Recent, the dumps) and a far client's blob cache (2026-11-05) | xitdb (pure Zig, a pinned commit of github.com/xit-vcs/xitdb, MIT) | src/Db.zig | 0 → 1 | | Zig: it allocates through the allocators it is given (a database's buffer, a read's), so it has no hook of its own; no C | Text section: tty 61,369,343 → 61,294,855 bytes (**−74,488**); gui 67,336,392 → 67,182,000 bytes (**−154,392**). -- cgit v1.3