iOS 5 closes Apple's infamous homescreen webapp gap

So says Xuzz


Apple's iOS 5 will close the speed gap between web apps run inside the company's Safari browser and those that run in "fullscreen mode" from the iOS home screen, according to a web post from a developer with early access to the operating system.

With the current version of iOS, web applications saved to the iOS home screen and launched into "fullscreen mode" do not benefit from certain tools built into Safari, including the browser's new Nitro JavaScript engine.

"The embedded web viewer does not take advantage of Safari's web performance optimizations." Apple spokeswoman Trudy Muller told The Register in March (no, really, she did). Apparently, these optimizations also included certain Safari caches and the browser's "asynchronous" rendering mode.

But on Thursday, during a discussion on Hacker News, a developer calling himself Xuzz said that with iOS 5, fullscreen web apps will at least have access to Nitro. "Did they fix the bug from 4.3 where home screen Web apps don't use Nitro?" asked one poster. Xuzz replied: "This is probably breaking my NDA to say this, but yes, they did. Web.app now has the 'dynamic-codesigning' entitlement, which enables Nitro."

But he indicated that Nitro is still missing from the UIWebView API used by native iOS applications, attributing this to Apple's security stance on Nitro's JIT (just-in-time) compiler. "They don't [get Nitro benefits], but that's a security restriction," Xuzz said. "They can't give dynamic-codesigning to all apps, or their security (which that disables, as a requirement to enable the JIT) would then be useless."

It's unclear whether Apple has changed the cache and synchronous mode discrepancies.

With Apple's current operating system, iOS 4.3, the discrepancies between home screen apps and Safari apps creates a significant performance gap. In tests run by The Register, Safari on an iOS 4.3 iPhone 4 run the Sunspider benchmark in about 4047ms. Running from the home screen, it took about 10747ms. It should be noted that users can not run web apps in fullscreen mode unless the developer allows them to. ®

Similar topics


Other stories you might like

  • Experts: AI should be recognized as inventors in patent law
    Plus: Police release deepfake of murdered teen in cold case, and more

    In-brief Governments around the world should pass intellectual property laws that grant rights to AI systems, two academics at the University of New South Wales in Australia argued.

    Alexandra George, and Toby Walsh, professors of law and AI, respectively, believe failing to recognize machines as inventors could have long-lasting impacts on economies and societies. 

    "If courts and governments decide that AI-made inventions cannot be patented, the implications could be huge," they wrote in a comment article published in Nature. "Funders and businesses would be less incentivized to pursue useful research using AI inventors when a return on their investment could be limited. Society could miss out on the development of worthwhile and life-saving inventions."

    Continue reading
  • Declassified and released: More secret files on US govt's emergency doomsday powers
    Nuke incoming? Quick break out the plans for rationing, censorship, property seizures, and more

    More papers describing the orders and messages the US President can issue in the event of apocalyptic crises, such as a devastating nuclear attack, have been declassified and released for all to see.

    These government files are part of a larger collection of records that discuss the nature, reach, and use of secret Presidential Emergency Action Documents: these are executive orders, announcements, and statements to Congress that are all ready to sign and send out as soon as a doomsday scenario occurs. PEADs are supposed to give America's commander-in-chief immediate extraordinary powers to overcome extraordinary events.

    PEADs have never been declassified or revealed before. They remain hush-hush, and their exact details are not publicly known.

    Continue reading
  • Stolen university credentials up for sale by Russian crooks, FBI warns
    Forget dark-web souks, thousands of these are already being traded on public bazaars

    Russian crooks are selling network credentials and virtual private network access for a "multitude" of US universities and colleges on criminal marketplaces, according to the FBI.

    According to a warning issued on Thursday, these stolen credentials sell for thousands of dollars on both dark web and public internet forums, and could lead to subsequent cyberattacks against individual employees or the schools themselves.

    "The exposure of usernames and passwords can lead to brute force credential stuffing computer network attacks, whereby attackers attempt logins across various internet sites or exploit them for subsequent cyber attacks as criminal actors take advantage of users recycling the same credentials across multiple accounts, internet sites, and services," the Feds' alert [PDF] said.

    Continue reading

Biting the hand that feeds IT © 1998–2022