Weekly Digest #3: Understanding Javascript Internals
By Juan Manuel Allo Ron on Apr 5, 2020

In this weekly digest I want to focus on resources that have helped me learn Javascript inner workings. In order to master any coding language it is necessary to understand how it works.
- To understand better the language check Advanced Javascript by Kyle Simpson, it has helped me to finally understand how
this
works!! The videos focus onscopes
(lexical vs dynamic),closures
, `prototypal Inheritance`, and `async patterns` - Let’s dig into the JS engine on JavaScript Visualized: the JavaScript Engine. Animated gifs showing how code is executed by the V8 engine (Chromium based browsers and Node.js engine)
- How is memory managed in Javascript? We have the luxury to not worry about memory management but we should be aware of how works to avoid common issues and potential memory leaks! Learn all about it in How JavaScript works: memory management + how to handle 4 common memory leaks
- Javascript single thread and the event loop. How concurrency is handled by Javascript: How JavaScript works: Event loop and the rise of Async programming + 5 ways to better coding with async/await
- Do you want to dig even deeper? Check How Browsers Work: Behind the scenes of modern web browsers for comprehensive details on parsing (HTML, CSS, JS), layout, painting and more.
- What is Bytecode? How V8 compiles for execution on Understanding V8’s Bytecode
- Finally you can always check V8 Engine blog.
Enjoy!!!
Catch up with me on X (twitter):@juan_allo
Share
---
Similar Articles

Weekly Digest #7: On Javascript books
May 3, 2020
Whether you are learning JS from scratch or have been working with it for a while now, I believe you will find great value on the following list of books.

Weekly Digest #4: On React internals
Apr 12, 2020
This weekly digest focuses on React internals. Understanding how react works internally helps to follow best practices when coding, better understanding on performance and extra skills to debug those hard bugs.

Weekly Digest #1
Mar 22, 2020
Best practices on JavaScript modularity: when to use named exports, how to group code and what to avoid. Check JavaScript Module Best Practices.

Weekly Digest #8: On building games
May 10, 2020
Today, I want to share a list of resources I have been bookmarking to help me develop games.