Re:Bringing asm.js to the Chakra JavaScript engine in Window...
by MisterWebz on Wednesday February 18, 2015 @03:25PM
(#9070716)
Does this mean we'll soon have mobile web apps that rival native apps in terms of performance or will DOM manipulation still slow everything down?
[ Parent
| on HN ]
Re:Bringing asm.js to the Chakra JavaScript engine in Window...
by aikah on Wednesday February 18, 2015 @03:50PM
(#9070832)
> Does this mean we'll soon have mobile web apps that rival native apps in terms of performance or will DOM manipulation still slow everything down?
asm.js has nothing to do with the DOM.So if the browser engine is slow, a fast javascript engine won't make any difference. It only make a difference with pure javascript computation as asmjs basically recreate an "assembly" on top of javascript, which allows to execute compiled C/C++ code.
Re:Bringing asm.js to the Chakra JavaScript engine in Window...
by untog on Wednesday February 18, 2015 @04:51PM
(#9071194)
JS is already plenty fast, it's just the DOM manipulation that screws it up. But asm.js with direct access to a <canvas> tag, WebGL or not, would probably be interesting.
Re:Bringing asm.js to the Chakra JavaScript engine in Window...
by natmaster on Wednesday February 18, 2015 @04:56PM
(#9071222)
Which is why ReactJS native is so compelling.
Re:Bringing asm.js to the Chakra JavaScript engine in Window...
by untog on Wednesday February 18, 2015 @05:26PM
(#9071381)
And React Canvas: https://github.com/Flipboard/react-canvas
Re:Bringing asm.js to the Chakra JavaScript engine in Window...
by realityking on Wednesday February 18, 2015 @03:35PM
(#9070758)
The latter. asm.js is interesting if a part of your app is computationally intensive. For example, if you want to create ZIP files in the browser asm.js is awesome.