News for hackers. Stuff that matters.
Re:Google Introduces Portable Native Client by pcwalton on Saturday May 18, 2013 @02:06AM (#5728061)
This is not a fundamental limitation of asm.js. For example, there is already an extension introduced for compiled code that can be optionally used for improved performance: Math.imul. Similar extensions can be introduced later.
Re:Google Introduces Portable Native Client by capisce on Saturday May 18, 2013 @03:05AM (#5728129)
With the trade off that the code size is greatly increased and that the performance when falling back to pure JavaScript will be dog slow. If the performance of an application is only acceptable on the subset of browsers that implement asm.js then the portability advantage over PNaCL isn't worth that much.
Re:Google Introduces Portable Native Client by surrealize on Saturday May 18, 2013 @04:15AM (#5728250)
The only actual numbers I've seen, from emscripten author Alon Zakai, show gzipped minified emscripten JS output as comparable in size to gzipped native code:

http://mozakai.blogspot.com/2011/11/code-size-when-compiling...

Re:Google Introduces Portable Native Client by pcwalton on Saturday May 18, 2013 @12:30PM (#5729453)
> With the trade off that the code size is greatly increased

http://mozakai.blogspot.com/2011/11/code-size-when-compiling...

> If the performance of an application is only acceptable on the subset of browsers that implement asm.js then the portability advantage over PNaCL isn't worth that much.

The Unreal Engine demo has proven that, even for games, these limitations don't result in "dog slow" performance on browsers that don't support asm.js.

Re:Google Introduces Portable Native Client by capisce on Monday May 20, 2013 @12:25AM (#5735881)
The Unreal Engine demo does pretty much all of its work on the GPU.