4 ms·
asm.js really seem to be a good solution, I hope some day it will be used to do more than web games. But at the same time, the vision of the future of compiling
by rbran 10y ago
asm.js really seem to be a good solution, I hope some day it will be used to do more than web games. But at the same time, the vision of the future of compiling everything in javascript is pretty scary.
- nawitus 10y agoI think WebAssembly will replace asm.js soon.
- hackcasual 10y agoThink of WebAssembly as a binary encoding of asm.js. You'll be able to deliver the same program in either format. Asm.js will still be around to support older browsers.
- jakub_h 10y agoI sort of think about it the other way round, actually.
- hackcasual 10y agoNot sure what you mean? Asm.js was defined a couple of years before Web assembly
- jakub_h 10y agoYes, but it was defined after actual assembly/low level languages like BLISS. So it was defined as a way of doing something "assembly-like" (or BLISS-like, or BCPL-like) in an environment that didn't allow for such code.
- nawitus 10y ago> Asm.js will still be around to support older browsers. I don't see a need for this since WebAssembly will provide a polyfill.
- hackcasual 10y agoThe polyfill won't benefit from browser based JIT compilation. If you're concerned with performance, even for browsers that don't support wasm, you'll want to switch to asm.js.