February 05, 2009

Opera working on faster JavaScript engine

Carakan, intended to be world's fastest JavaScript engine, will be released in as-yet-undetermined version of the Opera browser

Opera is working on a JavaScript engine, called Carakan, which is intended to be the fastest JavaScript engine on the planet, according to Opera.

Carakan (pronounced Tsharakan) is now 2.5 times faster than Futhark, the JavaScript engine in the Opera 10 browser. It could be even faster when ready, the company said. The company plans to release Carakan as soon as possible in an as-yet-undetermined version of the Opera browser.

[ Also read how Mozilla is working to boost JavaScript performance. ]

 Futhark, according to the Opera core developers blog, was developed to minimize code footprint and memory usage rather than to achieve maximum execution speed.

"This has traditionally been a correct trade-off on many of the platforms Opera runs on. 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," the blog said.

"The name Carakan -- like the names of Opera's previous ECMAScript engines, Futhark, Linear A, and Linear B -- is the name of a writing system or ''script," the blog said.

With Carakan, Opera is focusing on improvements in three main areas:

-- Register-based bytecode, which requires fewer instructions to be executed and less copying of data.

-- Native code generation based on a static type analysis, to reduce overhead.

-- Automatic object classification, in which each object is assigned a class that collects various information about the object, such as its prototype and the order of names of some or all properties.

"So how fast is Carakan? Using a regular, cross-platform switch dispatch mechanism (without any generated native code) Carakan is currently about two and a half times faster at the SunSpider benchmark than the ECMAScript engine in Presto 2.2 (Opera 10 Alpha)," the blog said.

With Opera ported to many different hardware architectures, this cross-platform improvement is on its own very important, according to the blog.

"The native code generation in Carakan is not yet ready for full-scale testing, but the few individual benchmark tests that it is already compatible with run between five and 50 times faster, so it is looking promising so far," the blog said.

Opera testers and developers have been working on Carakan for the past few months, the company said.

Paul Krill is an editor at large at InfoWorld.
Close

On Twitter now

Applications

Powered by Twitter

On Twitter now

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

Download now »

Subscribe to the Today's Headlines: First Look Newsletter

Find out what will be news for the day, with our first-thing-in-the-morning briefing.

©1994-2009 Infoworld, Inc.