Re:We rewrote our Rust WASM Parser in TypeScript – and it go...
by joshuanapoli on Friday March 20, 2026 @07:16PM
(#47462121)
They use a bespoke language to define LLM-generated UI components. I think that this is supposed to prevent exfiltration if the LLM is prompt-injected. In any case, the parser compiles chunks streaming from the LLM to build a live UI. The WASM parser restarted from the beginning upon each chunk received. Fixing this algorithm to work more incrementally (while porting from Rust to TypeScript) improved performance a lot.
[ Parent
| on HN ]
There are no comments on this comment yet.