what is JavaScript and what is js engine | #javascript #jsengine | what is javascript engine

preview_player
Показать описание
**Title: Understanding JavaScript and JavaScript Engines**

**Description:**
Welcome to our channel! In this video, we dive into the fundamentals of JavaScript and explore the workings of a JavaScript engine. JavaScript, as you may know, is a high-level, dynamic, and interpreted programming language widely used for creating interactive content on web pages.

Throughout the video, we break down the key concepts:

1. **High Level**: We discuss how JavaScript is designed to be easily understandable for humans, akin to human-readable languages like English.

2. **Dynamic**: We differentiate between static and dynamic programming languages, highlighting how dynamic languages handle variables, types, and memory management at runtime.

3. **Interpreted**: We explain the process of line-by-line compilation in interpreted languages, contrasting it with the compilation process in compiled languages.

Watch till the end to grasp these essential concepts thoroughly. Don't forget to subscribe for more insightful content! See you in the next video.

**Timestamps:**

0:00 - Introduction
1:28 - Understanding "High Level"
3:17 - Exploring "Dynamic" Programming Languages
6:23 - Differentiating "Interpreted" Languages
9:59 - Introduction to JavaScript Engines
12:43 - The Importance of JavaScript Engines
15:23 - Conclusion and Next Steps

**script**

**Timestamps:**

**00:00 - Introduction**
Hello everyone let's understand what is JavaScript and what is JavaScript engine. So JavaScript is basically a high level dynamic and interpreted programming language primarily used for creating interactive and dynamic content on web pages. So what does these three terms basically means? So high level basically means programming languages that are designed to be. Easier for humans to understand. Basically they are very near and very similar to our human readable languages, for example English.

**03:17 - Understanding "High Level"**
So over here you can see two codes one is a high level code and another is a low level code. So as you can see the JavaScript code and try to understand its meaning then you can easily identify Then this code is written to add 2 numbers. Whereas if you try to read the assembly level code so you won't be able to understand its purpose. But this is also written to add 2 numbers 5 and 10 and store them.

**06:23 - Exploring "Dynamic" Programming Languages**
So now move to the next term which is dynamic. So what does the word dynamic means? So dynamic basically means that in some programming languages the variables, types and memory management are done at runtime.

**09:59 - Differentiating "Interpreted" Languages**
So let's move to the last term which is interpreted. So what does the word integrated means? Integrated means line by line compilation. So basically there are two types of programming languages. First is compiled and the second one is interpreted. So in compiled programming languages the whole code is compiled and executed at once. For example, we have a code of four lines over here. So first the compilation is done. So all of these four lines, all of these four lines are compiled first and then the whole file is executed in a single code. Whereas in case of interpretation, so line by line compilation is done firstly, we have 4 lines over here, so firstly the first line will get compiled and executed at the same time. And then the line 2 will get compiled and executed at the same time. So this is the difference between compilation as well as interpretation.

**12:43 - Introduction to JavaScript Engines**
So guys now let's understand what is JS engine. So basically JS engine is a program or an interpreter that executes a JavaScript code. So whenever your web browser finds any JavaScript code inside the webpage, it doesn't directly execute it. It just passes the JavaScript code to the JavaScript engine and JavaScript engine execute it for us. So over here we have the list of browsers as well as JavaScript engine which are mostly used.

**15:23 - The Importance of JavaScript Engines**
Here is the last fact that our node JS also uses a JavaScript engine which is V8 and this is the
Рекомендации по теме
Комментарии
Автор

What's difference between compiler and jit compiler? Why js engine uses jit compiler instead of normal compiler?

devT
welcome to shbcf.ru