Crawford: Why mobile web apps are slow
Posted Jul 16, 2013 13:10 UTC (Tue) by khim
In reply to: Crawford: Why mobile web apps are slow
Parent article: Crawford: Why mobile web apps are slow
asm.js applications are CPU-architecture-independent
Which is irrelevant on mobile (ARMv6 is "good enough").
run in a sandbox
Which is a disadvantage from application developer's POV.
can access (via JS glue code) the entire standards-based Web platform API, which
Which is not even close enough to what native solutions can use.
No C++ framework has those properties.
Most of them do much better.
No, really. The only advantage ASM.js offers is the ability to run your application in a browser on desktop, all other properties are disadvantages.
Really if he choice is to write native ARMv6 code and target ARM-based and x86-based Androids (ARM emulation on x86 gives you the same 40-50% performance penalty) or write portable ASM.js code and cover only small amount of high-end ARM, Atom and MIPS Android (and then only for users who are using Mobile Firefox, not stock browser) then it's not even a contest.
to post comments)