toggle

AAPL Stock: 105.22 ( + 0.39 )

Printed from http://www.macnn.com

Apple to improve JavaScript in Safari, challenge SpiderMonkey

updated 10:55 pm EDT, Mon May 12, 2014

Improvements in WebKit's Nitro JavaScript engine could appear in OS X 10.10

According to reports from testers, the recently-updated beta of Safari contains within it an accelerated version of Webkit's "Nitro" JavaScript engine that could surpass current efforts in rival browsers, once fully developed. The new upgrades to Nitro, dubbed "FTLJIT," are not enabled by default in the OS X version of WebKit at present, but can be enabled through the command line, and offer substantial speed benefits.

Because JavaScript is such a crucial component of modern, media-rich web pages, its ability to dynamically reload pages, handle animated elements (such as drop-down menus) and media containers is key to the "speed" of web pages as perceived by users. One reason why Firefox is often said to "feel" faster than Safari is because developer Mozilla developed and honors some asm.js optimizations that other browsers do not. If the new FTLJIT were to adopt those optimizations, it would substantially improve instances where JavaScript is employed.

Infoworld's report on the revamped Nitro component notes that tests using the experimental FLTJIT build outperform Google's Chrome, though it is still not yet as fast as Firefox's asm.js benchmark tests. Google recently updated its own "V8" JavaScript engine. Once testing is complete, the component might be added to a future Safari build, perhaps as part of OS X 10.10 (codename "Syrah"), which Apple is working on now for release later this year. A sneak preview of 10.10 is expected at June's Worldwide Developer Conference.




by MacNN Staff

POST TOOLS:

TAGS :

toggle

Comments

Login Here

Not a member of the MacNN forums? Register now for free.

toggle

Network Headlines

toggle

Most Popular

MacNN Sponsor

Recent Reviews

Sound Blaster Roar Bluetooth speaker

There could very well be a new king of the hill for Bluetooth speakers, with Sound Blaster's recent entry into the marketplace. Bring ...

Kenu Airframe Plus

Simple, stylish and effective, the Kenu Airframe + portable car mount is the latest addition to Kenu's lineup. Released earlier this ...

Plantronics Rig Surround 7.1 headset

Trying to capture the true soundscape of video games can be a daunting task. Looking to surround-sound home theater options, users hav ...

toggle

Most Commented