The JavaScript performance improvements that accompany iOS 4.3—boosting raw performance as much as 2.5x—don't appear to carry over to in-app browsers or Web apps saved to the home screen. Another bug appears to prevent Web apps saved to the home screen from properly using HTML5 caching for offline use or using asynchronous loading. While these issues may be bugs and have been reported to Apple, some developers believe it is a conspiracy to make Web apps perform worse than native apps, pushing developers towards the App Store. However, the issues could just as likely be technical problems as any concerted effort from Apple to put the squeeze on Web developers.
To understand the JavaScript performance problem, it's helpful to understand the major performance improvement Apple brought to MobileSafari's Nitro JavaScript engine. Using a technique called just-in-time compilation, the engine converts JavaScript code into native ARM machine code. The engine then changes the area in memory where the native code is stored from writeable (for data storage) to executable (for code) to run the code directly.
Read the comments on this post
Drea de Matteo Trista Rehn Moon Bloodgood Kristin Kreuk Molly Sims
No comments:
Post a Comment