开发者

what techniques are currently being imployed to speed up the next generation javascript engines?

I know a fair amount about the current javascript engines. What techniques have arisen in the intervening time? Please provide links to freely available information.

e开发者_JS百科dit:

To clarify, I'm looking for new techniques that are being implemented or have recently been thought up for improving javascript execution speed.


I think most of your question is answered here: What optimizations do modern JavaScript engines perform?


Here are some references that came from the top of my head:

  • V8
  • Webkit
  • Spidermonkey
  • Gecko
  • accelerated compositing in Chrome
  • Native Client
  • WebGL
  • installable web apps
  • crankshaft

Please notice that at this moment (in the modern browsers) javascript isn't the bottleneck anymore in execution speed of the page. now that that problem is solved a lot of the browser manufacturers are focusing more on other aspects in the process of bringing a page from the server to the user. For instance a lot of the graphically rich pages that are standard now would benefit from the power of modern GPU's. It is often overlooked but rendering a typical page now takes generally more time than executing its scripts.


Javascript virtual machines in the future will have a method JIT and a tracing JIT like firefox 4 and JägerMonkey/TraceMonkey.


They use the GPU.


General details can be found at wikipedia.org and more detail at the Sun microsystems website and its links to associated sites. Some techniques now in use with recent versions of IE and Firefox and other browsers are forms of dualprocess or multiprocess operating in their own control structure to enhance performance specifically and for improving the general browsing experience. The use of javascript is decreasing in some nations and increasing in others as the relevant public internet server population changes over time. Only when the javascript parsing and interpreting code is rewritten in a faster language or some form of multiprocess is introduced to code on the servers or operating in the user's computer will the speed increase.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜