3 ms·
Then again, if the WebAssembly team makes that argument, we might as well just use JavaScript + ASM.js
by kuschku 11y ago
Then again, if the WebAssembly team makes that argument, we might as well just use JavaScript + ASM.js
- rubber_duck 11y agoNot really, aside from smaller binary size parsing a binary bytecode vs parsinga a JS pseudo bytecode is a huge difference in load time + they get to optimize it for efficient translation vs trying to hack JS constructs to get desired semantics and then trying to recognize those in the JIT Asm.js is a hack made with ducktape and chewing gum, wasm is a solution designed/engineered to solve the general problem - not just smaller asm.js
- dietrichepp 11y agoASM.js builds can be quite large, even 10s of MB is not uncommon. Reducing the binary size isn't just "nice to have", it changes the viability of the platform.
- kuschku 11y agoBut wasn’t the argument of the wasm team against the LISP features that binary size isn’t relevant and just a "nice to have" feature?
- dietrichepp 11y agoI don't think anyone is arguing that binary size isn't relevant. It just has to be weighed against the other parameters we want to optimize, like implementation complexity.