What is the JavaScript event loop really all about - Java Brains

  Рет қаралды 128,524

Java Brains

Java Brains

Күн бұрын

In this tutorial, you'll understand what the JavaScript event loop is really all about. Learn the pattern underlying how it works. Understand how the event loop affects both synchronous and asynchronous events.
Java Brains website: javabrains.io
#JavaBrains #BrainBytes #WhatIs #JavaScript #Tutorial #Concept

Пікірлер: 186
@yogeshjoshi388
@yogeshjoshi388 3 жыл бұрын
Appreciate your effort you put to make videos. I Learned a lot from your videos over last 5 years. Many Thanks Kaushik :)
@Java.Brains
@Java.Brains 3 жыл бұрын
Thanks! Yes, it does take a lot of time to produce these kind of videos, but I am glad they help! :)
@Saketjsaket
@Saketjsaket 3 жыл бұрын
@@Java.Brains It really helped out many persons. I am also one of them. Following you since your jaxrs courses came out. Thanks a lot for your effort. Happy Independence day...
@bhatnagarcapital
@bhatnagarcapital 3 жыл бұрын
​@@Java.Brains How do you do the animations ?
@GaganKumar-ib5sg
@GaganKumar-ib5sg 2 жыл бұрын
@@Java.Brains Didn't know ,this complex looking concept was so so easy.Thnxx a ton.
@haidersalah1416
@haidersalah1416 Жыл бұрын
Simply You can make a program that can make 1 million likes for you !
@rajatmishra9993
@rajatmishra9993 3 жыл бұрын
I wish I can like this video a million times.
@dailyfacts1099
@dailyfacts1099 2 жыл бұрын
If you click in even number of times it doesn't going to help 😂
@asitpurohit_108
@asitpurohit_108 2 жыл бұрын
Can be done using phython
@gatoloco1873
@gatoloco1873 2 жыл бұрын
Your likes would get stuck in the event queue
@u_ziben
@u_ziben 3 жыл бұрын
This is the clearest explanation of JS's event queue, call stack and event loop I have ever seen on KZbin. I really appreciate the effort you put into making these videos simple and clear. Great work JB!
@nikhil1651998
@nikhil1651998 3 жыл бұрын
This tutorial taught Callback, Synchronous & Asynchronous and Event Loop in the most easiest way possible. Watched many long videos but only 8:26 seconds was enough!
@codewithcreativecoder8834
@codewithcreativecoder8834 2 жыл бұрын
did you mean 506 seconds?
@nwobodogeorge5370
@nwobodogeorge5370 3 жыл бұрын
I have never seen a very clear, straight to the point explanations on event loop like this. Thank you sir.
@PerpetualLearner8934
@PerpetualLearner8934 3 жыл бұрын
This channel has quality written all over it. Online and offline put together, teachers like you are hard to find. All I can do is write a comment here to thank you. Keep up the good work! :)
@smmehrab
@smmehrab 3 жыл бұрын
Wow! I actually studied JS Event loop before. As you said, many tutorials and JS Conf Talks helped me understand the concept better. But to me, the amazing analogy that you used and your awesome explanation, was the simplest one so far. Thank you so much, man!
@devroy692
@devroy692 3 жыл бұрын
OMG. I never thought the eventloop could be so easy to teach. Awesome.
@veerenderreddychama3190
@veerenderreddychama3190 3 жыл бұрын
I really liked “the waiter - restaurant” analogy to explain the event loop concept. Thanks!
@areyoukidding6274
@areyoukidding6274 2 жыл бұрын
"If you can't explain it simply, you don't understand it well enough" - Albert Einstein This suits you man.. what an explanation!!
@vivekmishra5876
@vivekmishra5876 3 жыл бұрын
This guy made my Weekend. Thanks koushik
@sreid70
@sreid70 3 жыл бұрын
I think you have the best videos on Javascript period. You take basic concepts and turn them into advanced concepts, yet I still understand what you are saying. You are a great teacher. Well done. Your "Introduction to Javascript for Developers" series is my most favorite Javascript series on KZbin. Very well done. Permanent bookmark:-)
@khalidben9940
@khalidben9940 2 жыл бұрын
This is the clearest explanation I have ever seen on youtube about this topic.so many long videos only complicating things instead of making it easy and neat.Java brains you have been always one of my favorite channels.Thank you for this amazing video
@bernard2735
@bernard2735 3 жыл бұрын
Great, simple, clearly explained. Thanks mate.
@user-cc8he7dy9h
@user-cc8he7dy9h 2 жыл бұрын
For the first time I saw how someone was able to explain the event loop with some kind of analogy from real life, I think this is what a lot of people on KZbin lack, thank you very much for your efforts!
@kinstar
@kinstar Жыл бұрын
sometimes the best explanations need to be in human terms 😅
@ratgirltika
@ratgirltika 2 жыл бұрын
This video has been incredibly helpful to simplify understanding of how event loops and call back works in JavaScript
@rahulbeniwal2230
@rahulbeniwal2230 Жыл бұрын
I have seen explanations but effort you put to make it animated and real life example is great. Brain actually captures such things more easily. Thank you Java Brains.
@zekss07
@zekss07 Жыл бұрын
I am so glad this video had no big circle in it. Thank you for finding your own way of explaining things!
@amnishsingh9093
@amnishsingh9093 Жыл бұрын
Simple, concise and to the point explanations. Thanks Koushik!
@zillalsenmesrane1022
@zillalsenmesrane1022 Жыл бұрын
You are a beast my friend , this is the really easiest way to understand event loop , thank you so much
@reynaoldman9100
@reynaoldman9100 2 жыл бұрын
This is the best explanation of the event queue and loop. I learned a lot from your videos. Thanks for putting together these great videos 🙏🏻
@Hiroki-Takahashi
@Hiroki-Takahashi 2 жыл бұрын
The best explanation on the JS event loop I've seen on the internet. Thank you for making this video!
@youssefkhaled9418
@youssefkhaled9418 Жыл бұрын
This is the best and the most intuitive tutorial I've seen explaining the JS Event Loop. Thank You so Much !
@SumitKumar-co2pm
@SumitKumar-co2pm 3 жыл бұрын
The best analogy to explain event loop. Thanks a lot
@coolbuddy2405
@coolbuddy2405 3 жыл бұрын
Great Video! Appreciate your effort. Thanks, Koushik!
@BleedingCode
@BleedingCode 3 жыл бұрын
Great visual video easily explaining management of synchronous and asynchronous logic. Thanks
@stevehan3498
@stevehan3498 3 жыл бұрын
always love your videos. you're such a great educator!
@apuchitnis
@apuchitnis 3 жыл бұрын
This is the best video out there about the event loop, thanks for making this 🙏
@wanekaxa1483
@wanekaxa1483 Жыл бұрын
Thank you so much for making this video, I'm grateful for the fact that the quantity of event loop tutorial videos on KZbin didn't stop you from making this video.
@mohammadzaidhussain4903
@mohammadzaidhussain4903 2 жыл бұрын
You have just explained this topic in 5 mins. Salute for you.... Lots of love and respect
@kartikgupta5566
@kartikgupta5566 8 ай бұрын
amazing explanation !
@headach09
@headach09 Жыл бұрын
I have to pause the video and give the positive comment. It is brilliant. Thanks for your effort.
@AndiDrajan
@AndiDrajan 3 жыл бұрын
Thank you! Short and very well explained.
@ThePakChina
@ThePakChina 2 жыл бұрын
Following you since 2012 ... when i was start to learn JSP,Hibernate stuff. Thank bro
@mohnishbaker1792
@mohnishbaker1792 2 жыл бұрын
The simplest are the most beautiful things. You proved it sir.
@omkarpatil470
@omkarpatil470 2 жыл бұрын
Totally loved the way you explained Event Loop. Straight away subscribing :D
@stefanoforgiarini339
@stefanoforgiarini339 2 жыл бұрын
Thank you so much! This video is perfect. I've finally figured out what event loop Is!
@jacobthedev4979
@jacobthedev4979 2 жыл бұрын
Wonderful video, simple and straight forward. The best way to acquire new knowledge!
@dinner4chiahao
@dinner4chiahao 2 жыл бұрын
Brilliant, simple explanation. Thank you!
@Jefferson-yt5nx
@Jefferson-yt5nx Жыл бұрын
What an amazing video. Great analogy and perfect delivery of explanation. Beauty!
@bipinjaiswal5654
@bipinjaiswal5654 3 жыл бұрын
Thank you so much for your efforts.
@rajatsubhrachakraborti168
@rajatsubhrachakraborti168 Жыл бұрын
I don't usually comment in KZbin. But the way you explained things were really extraordinary. A true teacher you are. Thanks mate for the help :o)
@coderawesome
@coderawesome 3 жыл бұрын
The simplest explanation ever! Thanks a lot buddy!
@azeez9273
@azeez9273 Жыл бұрын
Your approach to explained the concept of event loop was superb. Thank you.
@CoolITTrends
@CoolITTrends 3 жыл бұрын
Excellent presentation of an important concept.
@Omar-hw7zi
@Omar-hw7zi 2 жыл бұрын
Amazing analogy.. straightforward!!!
@sourabhsahu961
@sourabhsahu961 3 жыл бұрын
Really missed you Kausik please please make videos frequently , I always eagerly waiting for your video they are always best as compared to other KZbin videos
@ash2ucool
@ash2ucool 2 жыл бұрын
Just Wow!! This is the best way to learn event loop. Thank you so much
@Alex-rt7de
@Alex-rt7de 3 жыл бұрын
tons of one hour duration videos about event loop, beautiful presentations jokes and no concrete info, why there is not videos like this. short and clear
@smartguy3k
@smartguy3k 3 жыл бұрын
Thank you for making it so easy.
@xyz_only_10x
@xyz_only_10x Жыл бұрын
most underrated coding channel
@tomwhite341
@tomwhite341 3 жыл бұрын
That was so clear, thank you
@callmemanu
@callmemanu 2 жыл бұрын
Now I could explain to someone what is an event loop? Really nice explanation with example.
@pankajsharma9801
@pankajsharma9801 2 жыл бұрын
Simple and clear explanations
@himanshitaneja1254
@himanshitaneja1254 3 жыл бұрын
Awesome as always!! Thanks Sir. Keep enlightening us. God bless you with good health and all the happiness in the world! :)
@abdulrehmanhuzaifa7028
@abdulrehmanhuzaifa7028 8 ай бұрын
beautiful
@vishalmishra1937
@vishalmishra1937 2 жыл бұрын
Clear n crisp
@vipinsharma-zx9cb
@vipinsharma-zx9cb 3 жыл бұрын
You always post great videos, Thanks for your efforts ! I request you to also consider posting courses for front-end workflow tools used for building front end projects these days, its a mess :). GIT and CSS are also evolving each day... Thanks.
@Aayush28jun
@Aayush28jun Жыл бұрын
Definitely cleared all my doubts , sooo mooth of a tutorial. Bang on Example. Thanks a lot !
@PP-pu3gi
@PP-pu3gi 2 жыл бұрын
Really explained in a very simple and easy way ...understood clearly
@jitendraasole5827
@jitendraasole5827 Жыл бұрын
And that was the best video who explained the Event Loop
@Samuftie
@Samuftie Жыл бұрын
brilliant explanation. thanks.
@HabiburRahman-xs9gb
@HabiburRahman-xs9gb Жыл бұрын
The only video, that taught me something on this topic..thank you very much
@sadikuzzamanshovon7598
@sadikuzzamanshovon7598 2 жыл бұрын
Most Clear explanation. Learned a lot from this video.
@kevinmarmet
@kevinmarmet Жыл бұрын
Wow. Concise. Well done 👍🏽
@ozgursulum4116
@ozgursulum4116 2 жыл бұрын
Thank you for simple explanation it saved a lot of time for me.
@natanminaev1501
@natanminaev1501 2 жыл бұрын
thans, man. an ellegant explanation!
@srinivasmudda8081
@srinivasmudda8081 3 жыл бұрын
Koushik you are awesome ..The Best on youtube ..thank you and apreciate a lot for such amazing detailed conceptual videos..COULD YOU PLEASE DO A SERIES ON DATA STRUCTURES BOTH CONCEPTS AND IMPLEMENTATION IN JAVASCRIPT ..would be very grateful..Ty
@vaayadipethapulla6964
@vaayadipethapulla6964 2 жыл бұрын
No one can explain this better.amazing
@DesigndaVida
@DesigndaVida Жыл бұрын
Thank you sir, awesome explanation!
@kratostheinevitable3932
@kratostheinevitable3932 2 жыл бұрын
amazing explanation. thanks.
@ravianand6351
@ravianand6351 3 жыл бұрын
Is it just a coincidence that when I was learning java and spring koushik was also into it, and I'm now learning javascript, he's also doing the same :)
@Java.Brains
@Java.Brains 3 жыл бұрын
Yup, definitely stalking your learning path. Too bad you caught me! :)
@ravianand6351
@ravianand6351 3 жыл бұрын
@@Java.Brains hah But seriously, you've helped me a lot, and many others ofcourse. I found out the java road map video to be very helpful. If you could bring a similar sort of video for javascript, it would be really helpful.
@69k_gold
@69k_gold 8 ай бұрын
Amazing explanation! But I always wonder how the V8 runtime knows when some API call has returned or setTimeout is done. Is there a separate listener thread whose whole purpose is to wait for asynchronous callbacks so it can add them to the event queue?
@deepakarya5310
@deepakarya5310 Жыл бұрын
thank you very much i have watched many resource and got so confused...this cleared all my doubt
@maiaklimenko6614
@maiaklimenko6614 Жыл бұрын
Fantastic explanation, many thanks)
@hannahadams3507
@hannahadams3507 Жыл бұрын
a million thank you's for such a perfect explanation man
@js-love
@js-love 3 жыл бұрын
Your explain in simplest form pls make more video on JavaScript ES6 and Callback .. appreciate your efforts
@theteamleader7678
@theteamleader7678 Жыл бұрын
This is a Master piece of explanation
@lavanyamanivannan6547
@lavanyamanivannan6547 2 жыл бұрын
This is my first comment for a tech video, this was neat and clear . very good job! really appreciate your work.
@ruslanyakushev9560
@ruslanyakushev9560 2 жыл бұрын
You're brilliant!
@33pranav
@33pranav 3 жыл бұрын
Sir, please post more videos on Nodejs series.
@abhishekverma5928
@abhishekverma5928 3 жыл бұрын
Great fan of your video. Learn almost everything productive from your channel.please also make video on kubernates and docker.
@nandlalushir252
@nandlalushir252 2 жыл бұрын
Thanks for such informative video..
@zafariqbal92
@zafariqbal92 Жыл бұрын
Thank You !
@glauberbispocruzcarvalho2235
@glauberbispocruzcarvalho2235 2 жыл бұрын
thanks dude that was a great explanation
@chandrahaslanka
@chandrahaslanka 3 жыл бұрын
Hi Kaushik, great content and explanation as always. Could you also please explain macrotasks and microtasks as well? I've gone through some documentation on the same, but as you mentioned, they seems to be more complicated explanations.
@geraldtivatyi2116
@geraldtivatyi2116 Жыл бұрын
I cannot thank you enough for this explanation
@MattiaRuberto
@MattiaRuberto Жыл бұрын
thank you! now is clear
@SakhawatHossainlive
@SakhawatHossainlive 3 жыл бұрын
Wonderful explanation
@nagaveer3315
@nagaveer3315 3 ай бұрын
Great explanation 🎉, thanks ✅
@Mvrck44
@Mvrck44 3 жыл бұрын
Loved it!
@ankurchunekar1824
@ankurchunekar1824 2 жыл бұрын
Thankyou for this video, it is very helpful. 💯
@Fido1hn
@Fido1hn 29 күн бұрын
Thank you this was a great video
@hardikganatra2453
@hardikganatra2453 3 жыл бұрын
Thank you sir !!
@Kloster18
@Kloster18 2 жыл бұрын
i loved this video, i finally understand!!
@suvadeepdutta3461
@suvadeepdutta3461 2 жыл бұрын
Awesome explanation
@yyisyou
@yyisyou 2 жыл бұрын
awesome explanation
@ashutoshsahu5345
@ashutoshsahu5345 2 жыл бұрын
Thanks alot sir ♥️ best video on this topic on yt
@shashwotbhattarai8731
@shashwotbhattarai8731 7 ай бұрын
i heard that the callback in the que get pushed to the stack, only after the stack is empty, but does a stack ever get empty?
@4t196
@4t196 2 жыл бұрын
Great animation and explanation
What is API gateway really all about? Java Brains - Brain Bytes
8:56
Genial gadget para almacenar y lavar lentes de Let's GLOW
00:26
Let's GLOW! Spanish
Рет қаралды 37 МЛН
Is this unfair?
16:04
Java Brains
Рет қаралды 10 М.
JavaScript Event Loop: How it Works and Why it Matters in 5 Minutes
7:20
JavaScript Visualized - Promise Execution
8:42
Lydia Hallie
Рет қаралды 98 М.
I learned to code from scratch in 1 year. Here's how.
41:55
Thomas Frank
Рет қаралды 293 М.
What is JWT? JSON Web Tokens Explained (Java Brains)
14:53
Java Brains
Рет қаралды 1 МЛН
The thing about serverless...
2:20
Java Brains
Рет қаралды 8 М.