JavaScript Engine and JUST-IN-TIME Compiler

  Рет қаралды 15,072

procademy

procademy

Күн бұрын

In this lecture, lets understand how a JavaScript program get’s executed by the browser. In the last lecture, we learned that every browser has a JavaScript engine which is responsible for executing JavaScript code. So, in this lecture, you will learn all the steps involved in executing a JavaScript program by JavaScript engine.
What is machine code?
The programs which we write using any programming language like C, Java, C++, JavaScript etc. are called as high-level language. A high-level language is human readable.
A Compute processor only understands 0s and 1s. It does not understand the high-level programming languages like C or JavaScript. So, ultimately all the programs, no matter which programming language you are using, must be converted to 0s and 1s in order to execute it. This converted code is called as machine code.
We cannot write a computer program in machine code by ourselves. It is practically impossible. That’s why, we use high-level languages to write a program and then convert is to machine code using some tools in order to execute it.
The conversion of high-level language to machine code can be done by using compilation or interpretation. Let's understand these concepts in detail in this lecture.

Пікірлер: 25
Execution context and Call Stack
9:36
procademy
Рет қаралды 7 М.
So what's exactly a JIT Compiler? - GeekCampSG 2019
36:53
GeekcampSG
Рет қаралды 17 М.
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 98 МЛН
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 80 МЛН
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 65 МЛН
Just In Time (JIT) Compilers - Computerphile
10:41
Computerphile
Рет қаралды 275 М.
Just in Time Compiler
7:53
Jamie King
Рет қаралды 27 М.
What is a Scope?
13:59
procademy
Рет қаралды 2,2 М.
Uncover the Secret to Mastering JavaScript Lexical Environment!
11:40
tapaScript by Tapas Adhikary
Рет қаралды 6 М.
Kruno: How browsers work | JSUnconf 2017
20:06
JSConf
Рет қаралды 84 М.
When is NodeJS Single-Threaded and when is it Multi-Threaded?
18:42
Hussein Nasser
Рет қаралды 73 М.
Understanding AOT Compilers, JIT Compilers, and Interpreters
6:27
Engineer Man
Рет қаралды 27 М.
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 98 МЛН