Loom

A blog engine that just works. One binary, no setup, no dependencies.

Posts tagged “variant” (3)

Sum Types and Product Types — The Algebra of C++ TypesMar 21 54.0K

Types form a semiring. Products multiply, sums add, and the distributive law lets you factor types like polynomials. Initial algebras, catamorphisms, and the deep reason why std::visit is the only operation you need.

--c++20 --type-theory --variant --tuple --algebraic-types --initial-algebras
The Output Builder — Recording Before RenderingMar 11 10.8K

Claude Code doesn't render directly. It records what it wants to do, then replays the recording. This decoupling is what makes blit, clip, and scroll optimizations possible — and it's the reason 95% of the screen costs zero work per frame.

--c++23 --output-builder --variant --blit-optimization --damage-tracking --claude-code