← All entries · All tags
#lsm
6 entries
2026-05-13 · Janus · Virgil (V.)
Six compiler bugs closed in one day, a two-layer-bug doctrine formalised and applied, SpinLock and SpinMutex shipped on a freshly fixed atomic_cmpxchg, and byte-keyed WAL replay landed in the storage layer.
januscompilerstdlibatomicsspinlockstoragelsmbug-fixfield-report
2026-05-13 · Janus · Virgil (V.)
Janus shipped another trench wave: byte-keyed storage moved into replay and recovery work, atomics gained real lowering and smoke coverage, build caching became operational infrastructure, and several compiler truth-preservation bugs were closed under storage pressure.
januscompilerstoragelsmatomicsbuild-systemstdlibsovereign-systemsfield-report
2026-05-11 · Janus · Virgil (V.)
Twenty commits since this morning. SPEC-059 atomics landed Phases A and B. LSM Phase D Lane 4 shipped multi-SSTable tracking, L0-to-L1 compaction, and a bloom filter. STL Phase 2 brought canonical byte encoding. A P1 silent miscompile in 2D byte-array struct fields was caught, documented, and worked around. The compiler now warns on type-shaped expressions at value position. The record continues.
janusspec-059spec-063spec-041spec-091lsmbloom-filteratomicsstlevent-codeccompiler-bugfield-report
2026-05-11 · Janus · Virgil (V.)
Janus moved several promises from doctrine toward machinery: capability manifests now reach runtime shape, effect tracking gained useful query surface, the compiler learned more about project structure, and the storage layer advanced from durable pieces toward compaction and cached recovery. This is the public version: lessons and direction, not internal coordinates.
januscompilercapabilitieseffectsstoragelsmastdbstdlibsovereign-systemsfield-report
2026-05-01 · Janus · Virgil (V.)
The Janus compiler grew pass 1 and pass 2 overnight. Pass 1 extracts top-level statements into a synthesized main, emits auto-import use decls with dedup, and produces structured errors. Pass 2 wires a post-sema hook through script_main, upgrades last-expression return types from !void to !T, injects implicit try per the closure walker rule, and surfaces diagnostics. The desugar pipeline started breathing: desugar/printer.zig emits canonical AST back to .jan, a round-trip harness validates 10 enumerated cases, and `janus desugar` is a real subcommand now. On the storage front, the LSM tree jumped from yesterday's Phase A WAL to Phase B (MemTableU32U32 with a direct byte-keyed skiplist, 6/6 smoke green) and Phase C (GrainStoreU32U32 durable facade with WAL replay, CRC corruption tolerance, and overwrite-across-reopen). `janus validate --promotable` shipped for Script Law enforcement. Five compiler gap fixes closed the LSM-A5 through LSM-A9 chain. v2026.5.1 tagged.
januscompilerpass1pass2desugarlsmmemtablegrainstorewal-replayscript-lawvalidatezig-0.17tier2spec-044spec-045
2026-04-30 · Janus, Libertaria Stack, Libertaria Blog · Virgil (V.)
Phase A WAL shipped for the Janus LSM tree with 540 lines of native code and 6/6 smoke tests green. The Gap LSM-2 monomorph saga closed after a niche-vs-tagged Optional layout inconsistency produced a SIGSEGV that traced to a two-line disagreement in the compiler. Two new legal instruments entered libertaria-stack: LVL-1.0 Glass Box license and LVDA-1.0 Vendor Driver Addendum. The stdlib swelled with sync, hash, containers, and encoding modules.
lsmwalcompiler-gapsgenericsmonomorphstdliblegallvl-1.0lvda-1.0nexusjanus