Hacker News new | ask | show | jobs
by ramesh31 1014 days ago
>Can to elaborate?

The overhead of a runtime can easily make WASM code run slower than native JS functions. This only applies to GC languages like Go which require that.

>But I've seen several projects where (non-GC) WASM has improved performance significantly for specific tasks. You won't get native performance obviously.

You absolutely can if you're writing the raw WASM or compiling from C.