4 ms·
> It would make much more sense if it were compiled to some kind of bytecode (like NaCl). That will ultimately give you better performance, less loading time, e
by azakai 13y ago
> It would make much more sense if it were compiled to some kind of bytecode (like NaCl). That will ultimately give you better performance, less loading time, etc.
Bytecode doesn't mean smaller download or faster startup, or necessarily better performance. It might, but you need numbers to show that.
In practice, right now startup is faster on asm.js than PNaCl, and vice versa for execution speed, but in both cases the differences are not large. Compare for yourself:
http://www.flohofwoe.net/demos.html http://www.flohofwoe.net/demos.html
http://trypepperjs.appspot.com/examples.html http://trypepperjs.appspot.com/examples.html