top | item 9506587

Bringing Asm.js to Chakra and Microsoft Edge

188 points| leo2urlevan | 11 years ago |blogs.windows.com | reply

86 comments

order
[+] dicroce|11 years ago|reply
Come on Google! Support asm.js in Chrome.... Give up on Native Client.... Even Microsoft is doing Asm.js now....
[+] tracker1|11 years ago|reply
Google has done a number of optimizations that enhance asm.js performance while not specifically targeting asm.js. This results in real time performance that sometimes beats Firefox, which has asm.js built in. While I would like to see more effort to the areas of asm.js that are slow, I can't discount the Chrome/v8 team's approach.
[+] flohofwoe|11 years ago|reply
I would really love to see Native Client on Android as alternative to the dreaded Android NDK, and I really don't understand why this hasn't already happened, it's so incredibly obvious. Just give us the ability to deploy and run a PNaCl executable directly as normal Android application, and without all the Java and JNI shenanigans. The Pepper API has a lot more to offer than what's exposed through the NDK headers, and the SDK itself is much easier to get up and running then the NDK.
[+] nothrabannosir|11 years ago|reply
Why? Last I heard, Chrome is going long on their JIT and trying to get it to automatically squeeze the same performance out of asm.js code as the others, without special shortcuts. These "real" optimizations can then seamlessly be applied outside of asm.js code.

Isn't that something that benefits us all? I'm happy they're trying, at least.

[+] drawkbox|11 years ago|reply
asm.js support in Chrome was moved to "assigned" in February this year: https://code.google.com/p/v8/issues/detail?id=2599

Looks to be the year of WebGL + asm.js across all browsers sometime this year. If so next year could be big for WebGL and web gaming again. And one day it could also make an impact on mobile but that seems to be moving ahead with things like Apple Metal and Khronos Vulkan (OpenGL successor - https://www.khronos.org/vulkan).

[+] JoshTriplett|11 years ago|reply
While I'd like to see asm.js implemented for compatibility, I greatly prefer native code over compiling to a JavaScript subset in the hopes of getting something vaguely resembling the original code back.

I understand why other browsers don't implement the Pepper API, because it's highly Chrome-specific; however, I'd like to see other browsers implementing the native-code sandbox, at least.

[+] Siecje|11 years ago|reply
What does Google need to do to support asm.js? I thought asm.js is a subset of JavaScript so shouldn't it already be supported?
[+] ianetaylor|11 years ago|reply
To be fair to google they are supporting asm.js, just with a different implementation design. Native Client is orthogonal.
[+] teacup50|11 years ago|reply
Why? asm.js is a hack relative to NaCL.
[+] WorldWideWayne|11 years ago|reply
I want less things emulated via Javascript and more stuff done directly via native code. Everything that is built on top of HTML/JS/CSS is basically a hack that is trying to emulate much better native platforms and it sucks. Why advocate to stay there? Let's go in the other direction in my opinion.
[+] shmerl|11 years ago|reply
So, will they add Opus support for audio tag too?
[+] higherpurpose|11 years ago|reply
Speaking of which, wasn't Microsoft supposed to add WebRTC/ORTC support in its new browser, too? I don't think I've heard anything about it in the recent official announcements other than last year's rumors.
[+] mhuffman|11 years ago|reply
Microsoft has been on a real tear lately. I am very impressed with the directions they are taking.