4 ms·
> 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. Lu
by _mlbt 1y 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.
- sjrd 1y agoIt'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.