Featured Post

Recent Post

Translation

Italiano flagArabo flagCinese (Semplificato) flagOlandese flagInglese flagFrancese flagTedesco flagGiapponese flagCoreano flagPolacco flagPortoghese flagRusso flagSpagnolo flagTurco flag

Calendar

June 2008
L M M G V S D
«May Jul »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30

Archive

Categories

New JavaScript interpreter for WebKit

Posted: on June 8, 2008 at 12:16 p.m.. Last Update: 8th June 2008 at 12:16 p.m..

Announced on the blog of WebKit, the engine of Safari, the introduction of a new JavaScript interpreter, whose code name is SquirrelFish.
The new interpreter SquirrelFish is faster (1.6 times faster) of the previous JavaScript interpreter for WebKit, as shown in a chart on the blog.

The previous JavaScript interpreter used by WebKit to do the building code, a code from a syntax tree (syntax tree). Then the interpreter visiting nodes running the operations. This model of execution cost has a run time, such as a syntax tree describes the grammatical structure of the code, not the things you need to do to run it. It may therefore be that the interpreter repeated visits during the execution of nodes that are not useful to execution. For example, the following snippet of code: "(x + +;) interpreter first visit the node corresponding to '(...)", during which there will be no operation performed, and after visiting the node corresponding to "x + +" when which will increase the value of the variable x.

Squirrelfish, being a bytecode engine, eliminates almost all of these costs at run time. For example, the execution of the bytecode is much faster than visiting a node of the tree parser.

Share:
  • Digg
  • del.icio.us
  • Technorati
  • Google
  • YahooMyWeb
  • Live
  • NewsVine
  • BlinkList
  • description
  • Furl
  • Ma.gnolia
  • MisterWong
  • Reddit
  • Sphinn
  • Simpy
  • Slashdot
  • StumbleUpon
  • Wists
  • OKNotizie
  • Diggita
  • Segnalo
  • BarraPunto
  • blogmarks
  • Facebook
  • Fai.Info
  • SphereIt
  • Spurl
  • Upnews
  • Wikio IT

Similar Articles:

Leave a Reply


: alien:: angel:: angry:: blink:: blush:: cheerful:: cool:: cwy:: devil:: dizzy:: ermm:: face:: getlost:: biggrin:: happy:: heart:: kissing:: lol:: ninja:: pinch:: pouty:: sad:: shocked:: sick:: sideways:: silly:: sleeping:: smile:: tongue:: unsure:: w00t:: wassat:: whistle:: wink:: wub:

CAPTCHA image