3 ms·
Does NaCl/PNaCl have a future now we've seen what Emscripten/ASM.js can do?
by tim_hutton 13y ago
Does NaCl/PNaCl have a future now we've seen what Emscripten/ASM.js can do?
- dochtman 13y agoIt certainly seems unlikely, but I guess it depends on how fast asm.js can get.
- tim_hutton 13y agoNow only 1.3x slower than native on one large-ish benchmark (box2d): http://youtu.be/qrf9ONmtXbM http://youtu.be/qrf9ONmtXbM (I love the comparison he makes to evolution at the end. Yes, the process may give ugly creatures sometimes but they work.)
- cromwellian 13y agoUnless you have a system with 4-8 cores and SIMD, and you want to leave a multiple of performance on the table: http://arstechnica.com/information-technology/2013/05/native-level-performance-on-the-web-a-brief-examination-of-asm-js/3/ http://arstechnica.com/information-technology/2013/05/native... For example, 1200% slower in Mandelbrot rendering with asm.js vs OpenMP C code.
- notatoad 13y agoit has a future as long as firefox is the only implementor of asm.js and chrome/ium is the only implementor of PNaCl.
- dragonwriter 13y ago> Does NaCl/PNaCl have a future now we've seen what Emscripten/ASM.js can do? Possibly not; Google certainly likes the things they come up with, but it wouldn't be the first time that they spent lots of effort behind one approach but switched to back another approach that solved the same problem that others championed because it was better positioned for standardization; Google's interest in native-like performance on the web are more about the functionality than the mechanism.