News for hackers. Stuff that matters.
Re:Simple diet tricks for asm.js by rbran on Saturday August 27, 2016 @12:43PM (#12373077)
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.
Re:Simple diet tricks for asm.js by nawitus on Saturday August 27, 2016 @02:02PM (#12373411)
I think WebAssembly will replace asm.js soon.
Re:Simple diet tricks for asm.js by hackcasual on Saturday August 27, 2016 @02:34PM (#12373540)
Think 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.
Re:Simple diet tricks for asm.js by nawitus on Sunday August 28, 2016 @12:10PM (#12377060)
> Asm.js will still be around to support older browsers.

I don't see a need for this since WebAssembly will provide a polyfill.

Re:Simple diet tricks for asm.js by hackcasual on Sunday August 28, 2016 @02:32PM (#12377752)
The 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.
Re:Simple diet tricks for asm.js by jakub_h on Saturday August 27, 2016 @03:15PM (#12373716)
I sort of think about it the other way round, actually.
Re:Simple diet tricks for asm.js by hackcasual on Saturday August 27, 2016 @03:40PM (#12373829)
Not sure what you mean? Asm.js was defined a couple of years before Web assembly
Re:Simple diet tricks for asm.js by jakub_h on Sunday August 28, 2016 @08:42PM (#12379294)
Yes, 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.