3 ms·
This article gives a good overview of NPAPI vs. PPAPI and NaCl/PNaCl. But what it gets wrong is the primary reason why Mozilla is objecting. It's not asm.js vs.
by bgirard 13y ago
This article gives a good overview of NPAPI vs. PPAPI and NaCl/PNaCl. But what it gets wrong is the primary reason why Mozilla is objecting. It's not asm.js vs. PNaCl. It's really about HTML5 vs. PPAPI.
> [PPAPI] lets a plugin do things like audio, graphics, networking and file i/o in a cross platform way.
Starting to sound a lot like HTML5. Why would Mozilla take effort away from working to bring these things as web standards and instead implement PPAPI? PPAPI isn't a standard, it's just a prettified interface to chrome sandbox internals.
asm.js is a great temporary hack that brings little maintenance burden (Any JS engine will run it, doesn't require a new VM). I hope that we will some day see a standard web bytecode in some shape but I see all this work on PNaCl+PPAPI as engineering time that should be spent working on improving web standards and implementations.