Monolithic compilers do not belong in interactive user interfaces. Traditional document formatters like LaTeX treat compilation as a strictly batch, file-in-to-file-out operation, causing large books to take tens of seconds to rebuild after a single keystroke.
A new implementation demonstrates how to achieve pixel-perfect LuaTeX compilation in one millisecond. The engine exploits the fact that line breaking is paragraph-local. Instead of invoking a full document pass or serializing to PDF, the system extracts display lists directly from internal memory node structures.
This shifts the latency profile from linear O(n) document scaling down to constant O(1) time per paragraph edit. The background layout reconverges asynchronously, mirroring the eventual consistency model used by modern word processors.
Architectural boundaries matter far more than raw execution speed when building interactive developer tools.



