olragon

← finds

@pierre/words: streaming Markdown rendering in WebAssembly

diffs.com · picked up

The @pierre/words page: the Stream Markdown and text heading and a benchmark chart, Words at 449.2 MiB/s, far ahead of md4x and markdown-it
screenshot of the original page

The Pierre team built a Markdown renderer for right now: text pours out of a model in pieces, and the page has to keep up without stutter. @pierre/words is written in WebAssembly Text, renders straight to HTML, supports GitHub Flavored Markdown and updates incrementally as text arrives. By their own benchmark it does 449.2 MiB/s on a 5.4 KiB code review, and the React build is 65% smaller than Streamdown gzipped.

What I appreciate is that they spell out how they measured: which machine, which Node, which commit, what's counted and what isn't (layout and paint aren't). A benchmark page that states its own limits earns more trust. It's still in beta.

visit the original →