Increasing the performance of WebAssembly Text Format parser by 350%

blog.gplane.win

55 points by gplane 5 days ago


writebetterc - 3 hours ago

So it went from parsing at 25MiB/s to 115MiB/s. I feel like 115MiB/s is very slow for a Rust program, I wonder what it's up to that makes it so slow now. No diss to the author, good speedup, and it might be good enough for them.

vjerancrnjak - 4 hours ago

It’s funny how there is continuous reinvention of parsing approaches.

Why isn’t there already some parser generator with vector instructions, pgo, low stack usage. Just endless rewrites of recursive descent with caching optimizations sprinkled when needed.

- 5 days ago
[deleted]
- 4 hours ago
[deleted]
shevy-java - 4 hours ago

Anyone using WebAssembly yet? HTML, CSS, JavaScript - all there.

Just about nobody uses WebAssembly. It first appeared almost ten years ago. This is snail-speed evolution at best.