Home Business IT Open Source JavaScript speed boost ahead for Mozilla's Firefox
Web applications are set for a speed boost, but it's nothing to do with their developers. The TraceMonkey project is hard at work on a new and much faster implementation of JavaScript for the Firefox browser.

While TraceMonkey is still in its early stages, the target is to make it a part of Firefox 3.1, which is expected in late 2008 or early 2009.

TraceMonkey already performs various benchmarks in 4.5 percent to 55 percent of the time taken by Firefox 3, and useful further improvements are thought possible.

"The goal of the TraceMonkey project - which is still in its early stages - is to take JavaScript performance to another level, where instead of competing against other interpreters, we start to compete against native code," wrote Mike Shaver, interim VP engineering at Mozilla. "Even with this very, very early version we’re already seeing some promising results: a simple 'for loop' is getting close to unoptimized gcc."

gcc is the GNU Compiler Collection, widely used for open source and commercial software development. Shaver's observation compares code written in JavaScript and C.

Mozilla CTO and original JavaScript creator Brendan Eich explained that SpiderMionkey gets its speed from a new kind of just-in-time (JIT) compiler.

Where a conventional compiler converts entire programs into machine code at the outset, JIT compilers convert sections of the source code that are executed often enough to make it worth the effort. This much of the performance of a full compiler without the initial overhead.

So where does SpiderMonkey get its speed? Please read on.

FREE CLOUD BACKUPS MANAGEMENT WEBINAR

Are your technicians spending too much time just managing your clients cloud backups?

Backups are an important part of any IT business but they should not consume more than their fair share of time and money.

Discover how to reduce the amount of time & money spent managing your Cloud Backups during this Free Webinar.

REGISTER FOR FREE WEBINAR!

FREE NETWORKING SERVICES CASE STUDY

As one of the world’s largest social networking services, Facebook handles a lot of user information, and requires input from an astounding range of stakeholders 24 hours a day, 7 days a week — from both inside and outside the business.

Discover how Facebook was helped to connect remote employees, vendors, consultants, and partners to applications and web services quickly and reliably - without risking sensitive data.

GET CASE STUDY!

GET THE IT BUDGET YOU WANT

Explore your Network Treasure Trove to get the IT Budget you want

With Australian businesses projected to spend over $78.7 Billion why does it feel like you can never get the budget you need?.

In most cases your budget will get approved because the proposals are not only technically correct, but also provide good, credible evidence on how the spend aligns with key business objectives.

Did you know that your Network Monitoring tool can help you build a comprehensive business case without an MBA?

HERE ARE 8 TIPS TO GET THE IT BUDGET YOU WANT.

CLICK HERE!

Stephen Withers

joomla visitors

Stephen Withers is one of Australia¹s most experienced IT journalists, having begun his career in the days of 8-bit 'microcomputers'. He covers the gamut from gadgets to enterprise systems. In previous lives he has been an academic, a systems programmer, an IT support manager, and an online services manager. Stephen holds an honours degree in Management Sciences, a PhD in Industrial and Business Studies, and is a senior member of the Australian Computer Society.

Connect

 

 

 

 

Join the iTWire Community and be part of the latest news, invites to exclusive events, whitepapers and educational materials and oppertunities.
Why do I want to receive this daily update?
  • The latest features from iTWire
  • Free whitepaper downloads
  • Industry opportunities