zlacker
[return to "Show HN: Mmdr – 1000x faster Mermaid rendering in pure Rust (no browser)"]
◧
1. jackot+pR1
[view]
[source]
2026-02-04 22:51:04
>>jeremy+(OP)
Does it make sense to create a Wasm build of this for the browser? Or is the speedup mainly due to the browser spawning step rather than execution/rendering itself?
◧◩
2. dzogch+UZ2
[view]
[source]
2026-02-05 08:54:39
>>jackot+pR1
I reckon the main speed up is from not having to launch a browser.
◧◩◪
3. danhau+F93
[view]
[source]
2026-02-05 10:15:16
>>dzogch+UZ2
Mermaid can also be used inside the browser directly, I believe. The WASM compiled Rust implementation could still outperform it.
◧◩◪◨
4. jackot+Lf3
[view]
[source]
2026-02-05 11:05:13
>>danhau+F93
Exactly, that's what I wanted to know. No other way to find out than to test, though. Don't know how easy it would be to wire it up.
[go to top]