Question: What is event loop? Answer: Event loop is nothing but a program (which is part of the libuv library) that keeps a track whether the Call Stack is empty or not, and if it is, then it pulls out the next function from the event queue/callback queue and puts it in the call stack for further execution. Bonus: The main function of the NodeJS runtime is to somehow act as a bridge between the V8 engine and the libuv library and make them work together.
Question: What is event loop?
Answer: Event loop is nothing but a program (which is part of the libuv library) that keeps a track whether the Call Stack is empty or not, and if it is, then it pulls out the next function from the event queue/callback queue and puts it in the call stack for further execution.
Bonus:
The main function of the NodeJS runtime is to somehow act as a bridge between the V8 engine and the libuv library and make them work together.
maza aagya bro mera node ka interview tha and yahi topics maii doubt tha abb samaj aagya puraa
thanks , stay connected to channel
Best explanation I seen so many videos from different channels but I don't understand but after watching this video now I understand.
spent 4 hours tutorial and sites but this made my doubts cleared within 15 mins thankyou, you should make more videos
Started from today ,keep watching thanks
thanks , stay connected to channel
The bestest explaination ever.
thank you
Thank you!
one of the best explanation video of single thread, multithread and non-blocking in node js.
thank you too :)
Hi
@@rajkirankelangi5751 hi
Well explained brother, clean example.
Very good explanation 👍
Good explanation sir
Thanks and welcome
thanks very well explained keep it up👍
thanks , stay connected to channel
well explained
if async nature is that much beneficial then why other programming languages are not implementing this type of architecture??
It depends on if the application is I/O heavy or CPU workload is more. If an application requires more CPU , it is not good to go with asynch
Nice explains
Thank you so much sir
super se upper
thanks , stay connected to channel
Please make more videos on node
thanks , stay connected to channel
currently making python videos
Thx
Any time
Yh node work m lik shikth h ky
samajh nhi aaya ki aap kehna kya chahte ho ?
@@ashishmahawal what is use node.js m lik shikth h ky
@@Motivationhindi151 you are asking to make video on uses of nodejs ?
I can’t even hear anything ur saying