News for hackers. Stuff that matters.
Re:Google Introduces Portable Native Client by kryps on Saturday May 18, 2013 @02:19AM (#5728080)
Theoretically PNaCL code should be executing much faster than emscripten-generated Javascript. Of course we should do real benchmarks, YMMV and so on.
Re:Google Introduces Portable Native Client by TazeTSchnitzel on Saturday May 18, 2013 @08:57AM (#5728736)
Should it? Both compile to intermediate representations which are distributed, then compiled to machine code by the browser. I see no reason PNaCl should be any faster.
Re:Google Introduces Portable Native Client by zaharpopov on Saturday May 18, 2013 @06:27PM (#5730685)
Well you have benchmarks in that talk - PNaCl is 1.2x native speed. asm.js is ~2x. Single threaded. With multiple threads PNaCl will smoke asm.js since the latter has no threads at all.

A 2x performance difference means your phone lasts 3 hours instead of 1.5 hours when playing that game. This is a huge, huge difference. Battery-powered devices make performance extremely important.

Re:Google Introduces Portable Native Client by cromwellian on Saturday May 18, 2013 @03:10AM (#5728139)
NaCL also supports pthreads.