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

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 190

  • @yogeshjoshi388
    @yogeshjoshi388 4 года назад +75

    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  4 года назад +10

      Thanks! Yes, it does take a lot of time to produce these kind of videos, but I am glad they help! :)

    • @Saketjsaket
      @Saketjsaket 4 года назад +1

      @@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 3 года назад

      @@Java.Brains Didn't know ,this complex looking concept was so so easy.Thnxx a ton.

    • @haidersalah1416
      @haidersalah1416 2 года назад

      Simply You can make a program that can make 1 million likes for you !

  • @u_ziben
    @u_ziben 3 года назад +38

    This is the clearest explanation of JS's event queue, call stack and event loop I have ever seen on RUclips. I really appreciate the effort you put into making these videos simple and clear. Great work JB!

  • @nikhil1651998
    @nikhil1651998 3 года назад +17

    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!

  • @rajatmishra9993
    @rajatmishra9993 4 года назад +51

    I wish I can like this video a million times.

    • @dailyfacts1099
      @dailyfacts1099 3 года назад +1

      If you click in even number of times it doesn't going to help
      😂

    • @asitpurohit_108
      @asitpurohit_108 3 года назад

      Can be done using phython

    • @gatoloco1873
      @gatoloco1873 2 года назад

      Your likes would get stuck in the event queue

  • @СергейКурилов-д2н
    @СергейКурилов-д2н 2 года назад +3

    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 RUclips lack, thank you very much for your efforts!

    • @kinstar
      @kinstar 2 года назад

      sometimes the best explanations need to be in human terms 😅

  • @zillalsenmesrane1022
    @zillalsenmesrane1022 2 года назад +2

    You are a beast my friend , this is the really easiest way to understand event loop , thank you so much

  • @areyoukidding6274
    @areyoukidding6274 3 года назад +5

    "If you can't explain it simply, you don't understand it well enough" - Albert Einstein
    This suits you man.. what an explanation!!

  • @PerpetualLearner8934
    @PerpetualLearner8934 4 года назад +8

    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! :)

  • @mohnishbaker1792
    @mohnishbaker1792 3 года назад

    The simplest are the most beautiful things. You proved it sir.

  • @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 RUclips didn't stop you from making this video.

  • @devroy692
    @devroy692 3 года назад +2

    OMG. I never thought the eventloop could be so easy to teach. Awesome.

  • @zekss07
    @zekss07 2 года назад

    I am so glad this video had no big circle in it. Thank you for finding your own way of explaining things!

  • @cosmicacad
    @cosmicacad 3 года назад

    You have just explained this topic in 5 mins. Salute for you.... Lots of love and respect

  • @azeez9273
    @azeez9273 Год назад

    Your approach to explained the concept of event loop was superb. Thank you.

  • @nwobodogeorge5370
    @nwobodogeorge5370 4 года назад

    I have never seen a very clear, straight to the point explanations on event loop like this. Thank you sir.

  • @thankgoditsover
    @thankgoditsover 4 года назад +4

    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!

  • @amnishsingh9093
    @amnishsingh9093 Год назад

    Simple, concise and to the point explanations. Thanks Koushik!

  • @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

  • @vivekmishra5876
    @vivekmishra5876 4 года назад +6

    This guy made my Weekend.
    Thanks koushik

  • @youssefkhaled9418
    @youssefkhaled9418 2 года назад

    This is the best and the most intuitive tutorial I've seen explaining the JS Event Loop. Thank You so Much !

  • @dj_tika
    @dj_tika 3 года назад +2

    This video has been incredibly helpful to simplify understanding of how event loops and call back works in JavaScript

  • @sreid70
    @sreid70 4 года назад +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 RUclips. Very well done. Permanent bookmark:-)

  • @SumitKumar-co2pm
    @SumitKumar-co2pm 3 года назад +1

    The best analogy to explain event loop. Thanks a lot

  • @maheshsale
    @maheshsale 3 месяца назад

    This one is the best explanation I have ever seen. Thank you.

  • @veerenderreddychama3190
    @veerenderreddychama3190 4 года назад +1

    I really liked “the waiter - restaurant” analogy to explain the event loop concept. Thanks!

  • @sadikuzzamanshovon7598
    @sadikuzzamanshovon7598 3 года назад

    Most Clear explanation. Learned a lot from this video.

  • @ThePakChina
    @ThePakChina 2 года назад

    Following you since 2012 ... when i was start to learn JSP,Hibernate stuff. Thank bro

  • @Alex-rt7de
    @Alex-rt7de 4 года назад +1

    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

  • @headach09
    @headach09 Год назад

    I have to pause the video and give the positive comment. It is brilliant. Thanks for your effort.

  • @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!

  • @BleedingCode
    @BleedingCode 4 года назад +1

    Great visual video easily explaining management of synchronous and asynchronous logic. Thanks

  • @theteamleader7678
    @theteamleader7678 2 года назад

    This is a Master piece of explanation

  • @ash2ucool
    @ash2ucool 2 года назад

    Just Wow!! This is the best way to learn event loop. Thank you so much

  • @dinner4chiahao
    @dinner4chiahao 2 года назад

    Brilliant, simple explanation. Thank you!

  • @rahulbeniwal2230
    @rahulbeniwal2230 2 года назад

    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.

  • @pankajsharma9801
    @pankajsharma9801 2 года назад

    Simple and clear explanations

  • @xyz_only_10x
    @xyz_only_10x 2 года назад

    most underrated coding channel

  • @stefanoforgiarini339
    @stefanoforgiarini339 3 года назад +1

    Thank you so much! This video is perfect. I've finally figured out what event loop Is!

  • @PP-pu3gi
    @PP-pu3gi 3 года назад

    Really explained in a very simple and easy way ...understood clearly

  • @ravianand6351
    @ravianand6351 4 года назад +4

    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  4 года назад +8

      Yup, definitely stalking your learning path. Too bad you caught me! :)

    • @ravianand6351
      @ravianand6351 4 года назад +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.

  • @ozgursulum4116
    @ozgursulum4116 2 года назад

    Thank you for simple explanation it saved a lot of time for me.

  • @callmemanu
    @callmemanu 3 года назад

    Now I could explain to someone what is an event loop? Really nice explanation with example.

  • @coderawesome
    @coderawesome 4 года назад

    The simplest explanation ever! Thanks a lot buddy!

  • @Aayush28jun
    @Aayush28jun Год назад

    Definitely cleared all my doubts , sooo mooth of a tutorial. Bang on Example. Thanks a lot !

  • @reynaoldman9100
    @reynaoldman9100 3 года назад +1

    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 🙏🏻

  • @HabiburRahman-xs9gb
    @HabiburRahman-xs9gb Год назад

    The only video, that taught me something on this topic..thank you very much

  • @bernard2735
    @bernard2735 4 года назад +2

    Great, simple, clearly explained. Thanks mate.

  • @jacobthedev4979
    @jacobthedev4979 2 года назад

    Wonderful video, simple and straight forward. The best way to acquire new knowledge!

  • @rajatsubhrachakraborti168
    @rajatsubhrachakraborti168 2 года назад

    I don't usually comment in RUclips. But the way you explained things were really extraordinary. A true teacher you are. Thanks mate for the help :o)

  • @jitendraasole5827
    @jitendraasole5827 2 года назад

    And that was the best video who explained the Event Loop

  • @jefe_t11
    @jefe_t11 2 года назад

    What an amazing video. Great analogy and perfect delivery of explanation. Beauty!

  • @vaayadipethapulla6964
    @vaayadipethapulla6964 3 года назад

    No one can explain this better.amazing

  • @69k_gold
    @69k_gold Год назад +1

    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?

  • @CoolITTrends
    @CoolITTrends 3 года назад

    Excellent presentation of an important concept.

  • @sourabhsahu961
    @sourabhsahu961 4 года назад +1

    Really missed you Kausik please please make videos frequently , I always eagerly waiting for your video they are always best as compared to other RUclips videos

  • @Omar-hw7zi
    @Omar-hw7zi 3 года назад

    Amazing analogy.. straightforward!!!

  • @kanha4790
    @kanha4790 3 месяца назад

    Event loop is a loop that are checking calstack continuously. if call stack is empty it push event that are waiting in event queue into the call stack for exicution perpose.

  • @hannahadams3507
    @hannahadams3507 2 года назад

    a million thank you's for such a perfect explanation man

  • @daryllmamaril4225
    @daryllmamaril4225 2 года назад

    Brilliant and clear explanation! Thanks for making this video!

  • @geraldtivatyi2116
    @geraldtivatyi2116 2 года назад

    I cannot thank you enough for this explanation

  • @deepakarya5310
    @deepakarya5310 2 года назад

    thank you very much i have watched many resource and got so confused...this cleared all my doubt

  • @antoniopacheco6001
    @antoniopacheco6001 3 года назад

    hey guy, im from brazil and i really apreciate your work, congratulations

  • @kratostheinevitable3932
    @kratostheinevitable3932 3 года назад +1

    amazing explanation. thanks.

  • @omkarpatil470
    @omkarpatil470 2 года назад

    Totally loved the way you explained Event Loop. Straight away subscribing :D

  • @33pranav
    @33pranav 4 года назад +4

    Sir, please post more videos on Nodejs series.

  • @rajadastidar3765
    @rajadastidar3765 3 года назад

    Very nice and understandable tutorial

  • @kevinmarmet
    @kevinmarmet 2 года назад

    Wow. Concise. Well done 👍🏽

  • @AndiDrajan
    @AndiDrajan 3 года назад

    Thank you! Short and very well explained.

  • @4t196
    @4t196 2 года назад

    Great animation and explanation

  • @natanminaev1501
    @natanminaev1501 3 года назад +1

    thans, man. an ellegant 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.

  • @apuchitnis
    @apuchitnis 3 года назад

    This is the best video out there about the event loop, thanks for making this 🙏

  • @virgilho4635
    @virgilho4635 2 года назад

    I love the animation as well as the poor waiter.😍

  • @js-love
    @js-love 4 года назад

    Your explain in simplest form pls make more video on JavaScript ES6 and Callback .. appreciate your efforts

  • @SakhawatHossainlive
    @SakhawatHossainlive 3 года назад

    Wonderful explanation

  • @nandlalushir252
    @nandlalushir252 3 года назад

    Thanks for such informative video..

  • @ashutoshsahu5345
    @ashutoshsahu5345 3 года назад

    Thanks alot sir ♥️ best video on this topic on yt

  • @smartguy3k
    @smartguy3k 3 года назад

    Thank you for making it so easy.

  • @marcosgabriel6221
    @marcosgabriel6221 Месяц назад

    Amazing explanation!!!

  • @marimuthur9456
    @marimuthur9456 2 года назад

    Extraordinary you are really cool it's very useful to understand easily thank you so much 👌🏼👌🏼

  • @suvadeepdutta3461
    @suvadeepdutta3461 2 года назад

    Awesome explanation

  • @farslan
    @farslan 4 года назад +3

    the chef is also a worker thread in this analogy, am I missing something? there is one waiter thread and chef thread?

  • @coolbuddy2405
    @coolbuddy2405 4 года назад +1

    Great Video! Appreciate your effort. Thanks, Koushik!

  • @maiaklimenko6614
    @maiaklimenko6614 2 года назад

    Fantastic explanation, many thanks)

  • @nagaveer3315
    @nagaveer3315 10 месяцев назад

    Great explanation 🎉, thanks ✅

  • @YOUASHPAKMULANI
    @YOUASHPAKMULANI 4 года назад

    Hi Kaushik
    I could not find complete javascript course on Java brains website.
    I was looking to purchase it but its not there now.
    I wanted to purchase it because of two reasons
    1. I have purchased hundreds of courses around programming on several platforms, but your courses are at the top when it comes to quality.
    2. I wanted to purchase as a token of appreciation for all your hard work.
    Please guide where can I purchase complete javascript course.

  • @chriscfedrizzi
    @chriscfedrizzi 2 года назад

    Thank you sir, awesome explanation!

  • @ankurchunekar1824
    @ankurchunekar1824 3 года назад

    Thankyou for this video, it is very helpful. 💯

  • @yyisyou
    @yyisyou 3 года назад

    awesome explanation

  • @vishalmishra1937
    @vishalmishra1937 2 года назад

    Clear n crisp

  • @kartikgupta5566
    @kartikgupta5566 Год назад

    amazing explanation !

  • @vamsikumili26
    @vamsikumili26 Год назад

    who is the chef in JS that the waiter handovers the task to? Like waiter is the single execution thread you mentioned and who is the chef refers to in JS

  • @mr.somebody646
    @mr.somebody646 2 года назад

    Amazing.... man I was really confused with this concept bt u know what this video completely cleared my doubt queue :)

  • @realsunjian
    @realsunjian 4 года назад

    javascript in Java Brains? good

  • @glauberbispocruzcarvalho2235
    @glauberbispocruzcarvalho2235 3 года назад

    thanks dude that was a great explanation

  • @sachivaidya2339
    @sachivaidya2339 2 года назад

    Well explained ✨✨

  • @Kloster18
    @Kloster18 3 года назад

    i loved this video, i finally understand!!

  • @ruslanyakushev9560
    @ruslanyakushev9560 3 года назад

    You're brilliant!

  • @srinivasmudda8081
    @srinivasmudda8081 4 года назад

    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

  • @rutvikdeshmukh6274
    @rutvikdeshmukh6274 3 года назад

    best explanation ☺️