News for hackers. Stuff that matters.
Re:Asm.js: a strict subset of js for compilers – working draft by ajasmin on Friday February 15, 2013 @04:21PM (#5228755)
Now Apple, Google, Microsoft and Mozilla will all have to ensure that tricks like (a+b)|0 are executed optimally though.
Re:Asm.js: a strict subset of js for compilers – working draft by nnethercote on Friday February 15, 2013 @07:28PM (#5229704)
Yeah, but that's not hard. And there's a spec that makes it extremely clear which tricks are necessary -- no need to reverse-engineer someone else's implementation, and no risk of tricks that work today breaking tomorrow.
Re:Asm.js: a strict subset of js for compilers – working draft by cpeterso on Friday February 15, 2013 @07:55PM (#5229796)
The beauty of this approach is that browser vendors don't have to execute these quirky expressions optimally. They are standard JS, so they will already work.