The Journey of JavaScript: from Downloading Scripts to Execution

Ankita Masand
1 min readFeb 25, 2019

--

https://stock.adobe.com

This article will help you understand the internals of JavaScript — even the weird parts. Every line of code that you write in JavaScript will make complete sense once you know how it has been interpreted by the underlying engine. You’ll learn multiple ways of downloading scripts based on the use case, and how the parser generates an Abstract Syntax Tree and its heuristics while parsing the code. Let’s dive deep into the internals of JavaScript engines — starting from downloading scripts.

You can read more about it here.

If you’re interested in learning about the internals of the JavaScript engine, you should definitely read this article.

In this article, you’ll learn how JavaScript engines have evolved from a mere interpreter to a performant and efficient engine that produces highly optimized machine code. You’ll also learn about the underlying components in the V8 JavaScript engine, including how the interpreter produces bytecode with abstract syntax tree as the input and how the compiler uses this bytecode to generate optimized machine code. This article will also help in understanding some of the performance optimization techniques for objects and arrays.

--

--