News for hackers. Stuff that matters.
Re:Asm.js: a strict subset of js for compilers – working draft by skatepark on Saturday February 16, 2013 @08:06AM (#5231355)
For a desktop and/or mobile app, on which the consumer is waiting and you are burning battery (laptop/phone) or just simply CPU cycles, 2x-4x slower is 'not fast'. You're simply wasting the end-users time and resources for what amounts to ideological reasoning.

We're always making a trade-off between performance and ease of programming, but when your competition is coming in at 2x faster than your optimal case, and 4x in the standard case, you're going to lose for all but the simplest apps.

Re:Asm.js: a strict subset of js for compilers – working draft by gsnedders on Saturday February 16, 2013 @09:20AM (#5231536)
How does PNaCl compare in terms of performance to "native" code? It still has the compilation overhead, it still has a lot of the bounds checking… It's not clear to me that PNaCl will actually be much quicker than asm.js.
Re:Asm.js: a strict subset of js for compilers – working draft by skatepark on Saturday February 16, 2013 @11:36AM (#5231981)
I believe the ideal (for users) would be to target NaCL natively, with a fallback to server-side PNaCL compilation, and an absolute fallback to PNaCL compilation/execution.