JavaScript Runtime Environment

  Рет қаралды 26,970

procademy

procademy

3 жыл бұрын

In this lecture and in next few lecture, we are going to learn about how JavaScript programs are executed behind the scenes. This is a very important concept to learn about and every modern JavaScript developer should be aware of how JavaScript works behind the scenes.
Let’s start by understanding what JavaScript runtime is. Remember that, what we are going to learn now is very important concept. I will use this concept to explain many other JavaScript related topics.
A JavaScript runtime is an environment which provides all the necessary components in order to use and run a JavaScript program. These runtime environments can be a slightly different when we use JavaScript in browser and when we use it as a server-side language using NODE JS. However, the basic structure of a runtime environment remains same.
What is JavaScript Runtime consist of?
A JavaScript runtime in case of browser, consist of following components which forms a complete runtime environment:
• JavaScript engine
• Web API
• Callback Queue
• Microtask Queue.
Let’s talk about each of these components one by one in this lecture.

Пікірлер: 19
@warrenb7450
@warrenb7450 2 жыл бұрын
I've been wondering what exactly is runtime, you explained it plain and simple. Thank you!
@agsiar
@agsiar 2 жыл бұрын
This video deserves more views. it explains clearly a concept that oh so many others simply pretend you already know and understand, while others trip while trying to explain it. Thanks.
@thetiredworker4922
@thetiredworker4922 Жыл бұрын
Thank you so much. I have been waiting for a good explanation of Runtime. You do a great job of teaching and explaining things 😊
@ajnil
@ajnil 2 жыл бұрын
Amazing stuff. No other video really explains all of this. Thank you so much 🙏
@dixztube
@dixztube 2 жыл бұрын
Isn’t that crazy how few channels do. This makes it all fit in a coherent concept and makes learning how to code more understandable. Makes me also think of node as a language in itself as well
@Relaxingmusic-tw4qn
@Relaxingmusic-tw4qn Жыл бұрын
very nice and clean explanation made all my doubts go away
@esmaelmohamed8209
@esmaelmohamed8209 6 ай бұрын
You deserve in million views. Literally i am spending this weeks most of my time on your resource, will also in entire year. You're in born lecturer. Love you brother❤
@muhammadrehan5722
@muhammadrehan5722 Жыл бұрын
the most underrated tutorial ever seen
@gurenchamp
@gurenchamp Жыл бұрын
Very good video, sir!
@anmolarora4167
@anmolarora4167 3 жыл бұрын
Thanks for this video
@uvaishassan
@uvaishassan 11 ай бұрын
This was really helpful
@dhruvbhatnagar4734
@dhruvbhatnagar4734 Жыл бұрын
How does node js fits here? Like we say node js is a run time env. How?
@dixztube
@dixztube 2 жыл бұрын
Hey great video!! So couldn’t you perceive of node as a language then
@procademy
@procademy 2 жыл бұрын
@Rich no node is not a language...it's a framework which uses js for backend programming
@kingjoo8309
@kingjoo8309 8 ай бұрын
How we can run `console.log()` in nodejs while it does not contain `WebAPIs`
@procademy
@procademy 8 ай бұрын
Because node js environment provides its own console.log function which logs the data in terminal....bot console.log provided by browser api logs it in browser console
@mariusdrogeanu6161
@mariusdrogeanu6161 Жыл бұрын
I put my screwdriver everywhere!
@ritikjain24
@ritikjain24 2 жыл бұрын
you completely skipped the event loop
@alex_turing
@alex_turing 4 ай бұрын
true
JavaScript Engine and JUST-IN-TIME Compiler
9:15
procademy
Рет қаралды 14 М.
JavaScript: How It's Made
10:54
Fireship
Рет қаралды 875 М.
Comfortable 🤣 #comedy #funny
00:34
Micky Makeover
Рет қаралды 14 МЛН
Задержи дыхание дольше всех!
00:42
Аришнев
Рет қаралды 3,8 МЛН
UNO!
00:18
БРУНО
Рет қаралды 3,7 МЛН
Pool Bed Prank By My Grandpa 😂 #funny
00:47
SKITS
Рет қаралды 7 МЛН
Execution Phase and Variable Object
17:11
procademy
Рет қаралды 3,5 М.
Understanding the V8 JavaScript Engine
10:44
freeCodeCamp Talks
Рет қаралды 104 М.
What is a Scope?
13:59
procademy
Рет қаралды 2 М.
The Power of JS Generators by Anjana Vakil
36:10
JSConf
Рет қаралды 163 М.
JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue
12:35
Comfortable 🤣 #comedy #funny
00:34
Micky Makeover
Рет қаралды 14 МЛН