• On MovieTome: The 10 worst movies of 2009 so far!
February 5, 2009 7:28 AM PST

Need for speed spurs Opera JavaScript overhaul

by Stephen Shankland
  • Font size
  • Print
  • 3 comments

With Web applications imposing new demands on Web browsers, a previously behind-the-scenes programming technology called JavaScript is getting new visibility, and Opera is the latest case in point.

The Norwegian browser maker announced on Wednesday a new JavaScript engine project called Carakan.

Carakan runs JavaScript code about 2.5 times as fast as the Futhark engine in the alpha version of Opera 10, programmer Lars Erik Bolstad said in an Opera blog post.

Opera's main business is browsers for mobile phones, and its current JavaScript engine is optimized for minimum memory demands, but now performance is the priority, Bolstad said.

"The Web is a changing environment however, and tomorrow's advanced web applications will require faster ECMAScript execution, so we have now taken on the challenge to once again develop the fastest ECMAScript engine on the market," he said. ECMAScript is a standard group's official name for JavaScript.

JavaScript isn't the only way to build Web applications, but it's increasingly widely used. It's the foundation for Google Docs and Gmail, for example, and enables Yahoo Mail users to drag-and-drop messages into folders.

Speed is particularly important because JavaScript is used for interactive aspects of Web pages, where fast response or annoying lags are noticeable by people controlling the application. But it's also widely used for many more mundane aspects of Web pages, so faster JavaScript helps improve Web browsing performance broadly.

Opera isn't alone here with a fancy name for its JavaScript engine. Mozilla's Firefox has TraceMonkey, Google's Chrome has V8, and WebKit, the rendering engine used by Apple's Safari, has Squirrelfish Extreme. (Chrome uses Webkit for some other tasks in displaying Web pages, but not its JavaScript engine.)

For details on Opera's improvements--register-based bytecode, native code generation, and automatic object classification--check the blog post about Carakan.

Stephen Shankland writes about a wide range of technology and products, but has a particular focus on browsers and digital photography. He joined CNET News in 1998 and since then also has covered Google, Yahoo, servers, supercomputing, Linux and open-source software, and science. E-mail Stephen, or follow him on Twitter at http://www.twitter.com/stshank.
Add a Comment (Log in or register) (3 Comments)
  • prev
  • 1
  • next
by Meek-29 February 5, 2009 7:50 AM PST
I have no hesitation in beleiving Opera will make the fastest engine, Opera s the best browser out there, shame it's not famous :(
Reply to this comment
by rollcage February 5, 2009 8:42 AM PST
Webkit's Javascript engine isn't Squirrelfix, it's Squirrelfish :)
Reply to this comment
by Shankland February 6, 2009 7:27 PM PST
Sure nuff, thanks--fixed the typo.
(3 Comments)
  • prev
  • 1
  • next
advertisement

About Webware

Say No to boxed software! The future of applications is online delivery and access. Software is passé. Webware is the new way to get things done.

Add this feed to your online news reader

Webware topics

The browser battles go on and on

roundup From Firefox to IE and from Chrome to Opera and Safari, there's no sitting still for browser makers looking to keep their products fresh and competitive.

3G wireless still holds promise

The next generation of 4G wireless may get all the headlines, but advanced 3G technology will likely dominate services for the next few years.

Inside CNET News

Scroll Left Scroll Right