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

StackOverflow https://stackoverflow.com/questions/4232344

Question

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.

edit:

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

Was it helpful?

Solution 3

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

OTHER TIPS

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:

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.

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top