Engineering

Why We Built Our Own AST Markdown Parser in Rust

Standard JavaScript Markdown parsers introduce noticeable keystroke latency when rendering 50,000-word meeting archives. To achieve instantaneous live previews, we built a dedicated incremental AST parser in Rust compiled to WebAssembly.

"Typing should never stutter. An AST parser must update incrementally in under one millisecond per keystroke."

Our Rust parser processes only the modified line delta, updating the DOM tree incrementally with zero garbage collector pauses.