Printed from http://www.electronista.com

WebKit: new speedier JavaScript engine

updated 07:15 pm EDT, Tue June 3, 2008

WebKit SquirrelFish

The WebKit development team on Tuesday unveiled a new JavaScript rendering engine called SquirrelFish for the open source browser, making the browser perform 1.6 times faster on the SunSpider benchmark. SquirrelFish is billed as a register-based, direct threaded, high-level bytecode engine with a sliding register window calling convention. The engine was designed around current theories and research progress performed by professors, and developers of the Lua programming language.

SquirrelFish compiles bytecodes from a syntax tree, using a one-pass compiler with built-in copy propagation. The development team claims the speed boost comes mainly from SquirrelFish's ability to ignore redundant nodes, but is also due to single direct memory reads, single indirect branching, and eliminating the syntax tree, allowing the interpreter to skip execution states between syntax tree nodes.

The WebKit team admits that the system is in early stages of development, but they expect to have compile-time optimizations and optimizations to the virtual machine engine, before it is ready for mass scale deployment.



By Electronista Staff
toggle

Comments

  1. Rezzz

    Fresh-Faced Recruit

    Joined: Jan 2006

    0

    logo

    thank you, webkit team, for a whimsical and silly logo of the squirrelfish. absolutely love it.

Login Here

Not a member of the MacNN forums? Register now for free.

toggle

Network Headlines

toggle

Most Popular

Sponsor

Recent Reviews

Logitech Hyperion Fury mouse

Selecting the correct gaming mouse comes down to finding a device that balances the needs of a user with a price they can afford. Ofte ...

Life n Soul BM211 Bluetooth speaker

Bluetooth speakers aren't only for listening to some music at the park or on a long bus ride, but can also be built with tablets in mi ...

Epson PowerLite Home Cinema 2030 projector

With high-definition televisions now the standard, 4K televisions becoming the next big thing, and plasma TVs going the way of the din ...

Sponsor

toggle

Most Commented

 
toggle

Popular News