O'Reilly logo

Understanding Advanced JavaScript by Smashing Magazine

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Writing Fast, Memory-Efficient JavaScript

By Addy Osmani

JavaScript engines such as Google's V81 (Chrome, Node) are specifically designed for the fast execution2 of large JavaScript applications. As you develop, if you care about memory usage and performance, you should be aware of some of what's going on in your user's browser's JavaScript engine behind the scenes.

Whether it's V8, SpiderMonkey3 (Firefox), Carakan4 (Opera), Chakra5 (IE) or something else, doing so can help you better optimize your applications. That's not to say one should optimize for a single browser or engine. Never do that.

You should, however, ask yourself questions such as:

Is there anything I could be doing more efficiently in my code?

What (common) optimizations do popular ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required