toggle

AAPL Stock: 97.19 ( + 2.47 )

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

D-Link Wi-Fi Smart Plug

Home automation fans have been getting their fair share of gadgets and accessories in the last few years. Starting with light bulbs, a ...

Razer Kraken Pro headset

Gaming headphones are a challenge to get right, for a long list of reasons that are unique to the consumer buying them. Some shoppers ...

Patriot Aero Wireless Mobile Drive

Regardless of how large a tablet you buy, you always want more space. There's always one more movie or another album you'd cram on, ...

toggle

Most Commented