3 ms·
"Webassembly is bound to make sites even 2-5x smaller in the near future." That's true if you hand code your webapp in WAST :) Otherwise there will be tons of
by kowdermeister 8y ago
"Webassembly is bound to make sites even 2-5x smaller in the near future."
That's true if you hand code your webapp in WAST :) Otherwise there will be tons of libraries included from C++, Rust or god knows where from. So if you want to draw a few pixels, then prepare for 5 - 10x time size increases.
It's not the goal of WebAssembly to replace JS and HTML/CSS.
- thermodynthrway 8y agoIt's not a goal but it will happen because the benefits are huge. JavaScript s "tree shaking" is a joke compared to a compilers ability to remove unused code. Since it's all compiled down to WASM bytecode it's possible to remove unused code no matter what the original language. Close to the holy grail