top | item 43618876

Consuming a High Performance WASM Library in MoonBit from JavaScript

3 points| chenhoey1211 | 10 months ago |moonbitlang.com

2 comments

order

ViperCode|10 months ago

I like that the article doesn’t just present a “hello world” demo, but uses a real-world use case (Markdown parsing via Cmark). It’s a smart way to highlight Wasm’s value in shrinking bundle sizes while avoiding runtime penalties — especially when paired with native string support.

chenhoey1211|10 months ago

Yeah, real-world examples like Cmark are way more convincing than contrived demos. I'd be curious to see benchmarks comparing this approach to something like marked or markdown-it in terms of size and speed."