REGISTERS | How the JavaScript REALLY engine works | JS V8 engine explained | Advanced JavaScript

preview_player
Показать описание
This video looks at how registers work in the JavaScript V8 engine at a bytecode level. Everytime you create a variable whether it's a let, const or a var, this will be ultimately represented as a virtual register in the V8 engine's register machine. This tutorial shows you how your JavaScript code gets translated into assembly byte code, how the variables gets represented as registers and how it works in conjuction with the accumulator to perform math operations.

In this video you will get even more familiar with how the JavaScript v8 engine handles your code and how it's represented as assembly instructions, and you will learn a load more new assembly instructions at a byte code level.

This video really focuses on how you can become an Advanced JavaScript developer through focusing on how your source code gets translated into bytecode by the ignition interpreter in the Javascript V8 engine that powers chrome, chromium browsers and nodejs.

This video is beginner friendly.
Рекомендации по теме
Комментарии
Автор

These videos are GEMS!! Thank you for taking the time to makes em!! Helpful is an understatement!

sacramentoexplained
Автор

Hi Chris, love your contents! What about containers internals?

Lozar
Автор

Interesting thing happen when I play with float numbers like 10 * 2.5 it uses smth called HeapNumber in an OldSpace. On M1 the maximum precision for the operation like x * is 16 digits. When I shift it right, it's going to be rounded

Mmg-maskedG
Автор

In my byte code, where yours says 0c mine says 0d, is this because of a difference in our cpu instruction set?

error__prone
Автор

Your video is amazing, but I have some questions
- V8 translates our code (the programmer writes) into machine code for execution, does that include all the code in Node.js' source code written in C++?
- I still can't figure out the relationship of Event loop (which belongs to libUV library) and V8 (javascript runtime)
- I read a lot of articles they say Event loop also executes the code and V8 also executes, so what is the wrong point here?
Thank you very much.

minhhieple