Advertisement
Promo

Online business Toolkit

How JavaScript became a browser-war battleground

Stephen Shankland CNET News

Published: 23 Mar 2009 15:46 GMT

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

After lurking inconspicuously within the code of websites for more than a decade, JavaScript has emerged to become a key battleground in a second era of web-browser wars.

JavaScript, which lets developers create everything from basic website menus to online spreadsheet applications, was born in the mid-1990s when Microsoft's Internet Explorer challenged the incumbent browser, Netscape's Navigator. IE won that war, but now it faces its own challenge from the heir to the Navigator throne, Mozilla's Firefox, along with upstarts including Google's Chrome, Apple's Safari and Opera.

All the challengers tout JavaScript performance as a major part of their competitive attack — even to the point of naming their JavaScript engines built into their browsers: Chrome's V8, Firefox's TraceMonkey, Opera's Futhark and upcoming Carakan and Safari's newly branded Nitro, which is Apple's version of WebKit's Squirrelfish.

Although IE lags behind all these rivals in JavaScript performance, Microsoft does care about performance overall and JavaScript performance specifically. The company launched a brand-new browser version, Internet Explorer 8, on Thursday. "We're going to keep making the script engines faster [but] right now it's not clear how many people are gated by script performance," IE general manager Dean Hachamovitch said in an interview. "JavaScript comprises a small portion of how fast a web page will render. It is a piece, but by no means the holy grail."

Because it is easy to measure, JavaScript performance has "become shorthand for browser performance", Hachamovitch added. Microsoft has begun touting its new test of page-loading speeds in which IE8 fared better overall than Firefox 3.0.5 and Chrome 1.0. A supporting slow-motion video (to view the video, click on Case Study Videos then Performance Testing) shows page-loading speeds down to the hundredth of a second.

Meanwhile, the day before the IE8 launch, Google launched its Chrome Experiments site to tout what can be done with high-performance JavaScript and to promote its browser. While Chrome generally runs sites' applications with aplomb, that is not the case for IE.

Browsing vs running applications
The difference between the companies seem to boil down to one difference: the fact Microsoft is focusing on today's web, and its rivals are focusing on tomorrow's.

The internet is growing from being a web made of static pages to be read with links to be clicked, into a web that also includes applications that perform computational tasks and that people interact with. In other words, browsers now have to process data as well as load pages. Microsoft's dominant share — 67 percent according to Net Applications' figures — reflects the more mainstream world, and the challengers are aiming for where they think the mainstream will be going.

"The faster we make JavaScript, the more interesting and interactive the web becomes," said Mike Beltzner, Mozilla's director of Firefox.

Google agrees. "We saw a lot of web developers lamenting the fact that they couldn't do what they wanted to do because JavaScript was a limiting factor," said Darin Fisher, a Chrome engineer at Google. It's certainly not the only bottleneck, but Google concluded that "by far the biggest performance opportunity we saw was to improve JavaScript".

Google has a direct interest in faster JavaScript. It is among the biggest advocates of cloud computing, in which internet-based applications and services replace those running natively on a personal computer.

But Google Docs, Google Calendar and Gmail are not rarities. Yahoo, Facebook and countless other sites make extensive use of JavaScript, and Microsoft itself is working to produce online versions of its Office suite.

AdventNet's Zoho division, which also offers web-based tools for word processing, spreadsheets and other tasks, is another company eager for faster JavaScript. Currently the company has to show a separate site with reduced abilities to people who use IE6 with the site, said Zoho chief executive Sridhar Vembu.

"We're excited because this represents a fundamental breakthrough in JavaScript performance and capability for applications like ours," Vembu said of the new generation of browsers. "Within a year I think we'll see such browsers dominating the landscape."

Vembu is also optimistic that Microsoft will close the JavaScript gap with its rivals. "I believe Microsoft will catch up," he said.

To emphasise only JavaScript for web applications is to oversimplify the situation. (And of course there are any number of other aspects of browser quality, including security, plug-in availability, operating-system support, user interface responsiveness and website support.) Web applications also benefit from...

Next

Previous

1 2


  • Email
  • Trackback
  • Clip Link
  • Print friendlyPrint with EPSON

Did you find this article useful?
7 out of 8 people found this useful


Full Talkback thread

0 comments


Company/Topic Alerts

Create a new alert from the list below:














Sentry Posts Blog

Authentication risks all too human

Risks to successful online banking identification and authentication using smartcards involve a mixture of human and technological factors, according to the European Network and Information... More

1 comment

Opera censors Chinese content

Opera has updated the Chinese version of its mobile browser to stop users accessing restricted content. Opera Mini was updated on Friday from an international to a Chinese version,... More

2 comments

Symantec website breached

Security company Symantec has said that one of its websites was successfully breached. Romanian security researcher 'Unu' posted details of the breach in a blog post on Monday. Unu... More

Post a comment

Video icon

Video

Google Chrome

Roundup: Full coverage of Google Chrome

The search giant has launched a beta of its own open-source browser, sending a clear challenge to Microsoft in the way it lets users work with applications More

Blog: Google Chrome has Microsoft's code inside, says MS manager

And furthermore, he says, that's a good thing... More

Blog: Google Chrome — nine things we've found since launch

Google must be very happy with the coverage Chrome has gathered. But it's not all good news... More


Skip Sub Navigation Links to CNET Brand Links

Help

Become part of the ZDNet community.

Newsletters