Loom

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

Posts tagged “damage-rect” (1)

The Diff Engine — Only Paint What ChangedMar 15 10.8K

The heart of the renderer: compare two screen buffers cell by cell, emit the minimal ANSI to transform one into the other. Every optimization upstream exists to make this loop faster. Every optimization here directly reduces bytes to stdout.

--c++23 --diff-engine --ansi-escape --cursor-optimization --damage-rect --claude-code