Hacker News new | ask | show | jobs
by _mlbt 420 days ago
> The output WASM of this simple program is 5.6MB binary, which can be pruned a bit via wasm-opt tool, just make sure that it doesn't break anything for you. Luckily when compressed (gzip, brotli, etc) the binary becomes just ~2.5MB in size.

That’s much better than I expected! Very impressive work here. It actually looks viable for certain applications.

1 comments

It's acceptable. Meanwhile 5.6MB of Wasm is about the size of the entire test suite of Scala.js. :-p

GraalVM is excellent technology, but when it comes to targeting Wasm, I believe the core language compilers will always have an edge.