Web Workers Explained

Поділитися
Вставка
  • Опубліковано 21 січ 2025

КОМЕНТАРІ • 86

  • @user-zl5gi8sv7u
    @user-zl5gi8sv7u Рік тому +9

    Oh god another fireship rip off

  • @RevolutionaryUsername
    @RevolutionaryUsername Рік тому +31

    The way you’ve just managed to explain a topic from scratch without making any part of it cryptic is something this space needs!

  • @damilolaadeyemi8383
    @damilolaadeyemi8383 10 місяців тому +4

    8 years experience and damn, this is the best explanation of non-blocking I've seen

    • @awesome-coding
      @awesome-coding  10 місяців тому

      Thank you! I'm glad you found it useful!

  • @JaskierRezzo
    @JaskierRezzo Рік тому +12

    I'm really loving these short concept videos about things we all know because we have heard it somewhere and everyone understand the bare-bones definition of but rarely the much needed details!
    Another banger video.

    • @awesome-coding
      @awesome-coding  Рік тому +2

      Glad you like them!
      That's the main reason I'm doing these videos. Too often I'm like - "yea, I know what that is", but then, when I'm really thinking about it I realise I don't fully understand some of the basics.

  • @mahdishirazi5785
    @mahdishirazi5785 9 днів тому

    this video deserves a trillion likes, soooo concise and soooo clear and easy to understand

  • @ybenjamin
    @ybenjamin Рік тому +5

    Great work on the presentation, using a real world example always improves the understanding!

  • @TheEletricboy
    @TheEletricboy 8 місяців тому +4

    Fireship clone or not, great job at explaining this subject in a concise manner with real world use-cases and easy to follow reactive visuals. We need more creators like you

  • @rizwank658
    @rizwank658 Рік тому +9

    Hey Great Video! Finally I understood the proper use-case for this. Thanks!

  • @AveN7ers
    @AveN7ers Рік тому +3

    Great video! This is an excellent introduction to workers

  • @alexandervashchuk7795
    @alexandervashchuk7795 Місяць тому

    Thanks for the explaining event loop!

  • @kalyanbikramadhikari6049
    @kalyanbikramadhikari6049 3 місяці тому

    perfect explaination. Keep up the good work brother

  • @yuhanlian991
    @yuhanlian991 Рік тому +2

    what a hidden gem, thank you so much!

  • @tazimmahta7625
    @tazimmahta7625 Місяць тому

    Thank you, mate! That's the best explanation

  • @markyer3996
    @markyer3996 Рік тому +1

    Another awesome video! Great visuals, too

  • @renatolins4670
    @renatolins4670 10 місяців тому

    That helped me, thanks for such an awesome and practical explanation!

  • @couragic
    @couragic Рік тому +5

    0:40 I guess this visualization of current stack execution can confuse some people. You have several functions in queue and in the stack and it looks like node can pick several functions from queue and execute them sequentially at once (at one loop cycle). But the stack is actually just one function from queue.

    • @awesome-coding
      @awesome-coding  Рік тому +3

      This is a very good point! Thank you for mentioning it!

    • @ozzyfromspace
      @ozzyfromspace Рік тому +2

      @@awesome-coding your illustration is fine. sometimes a function will call other functions, or even itself recursively. The call stack can hold other execution context's in this way. Granted, I understand @couragic's valid concern about confusing some people. Overall, nice video! Best wishes to the both of you.

  • @Aksht-h9u
    @Aksht-h9u 6 місяців тому

    This was awesome explanation

  • @ashleyfreebush
    @ashleyfreebush Рік тому

    This type of content is the best

  • @MeesvanStiphout
    @MeesvanStiphout 8 місяців тому

    Clear explanation! thanks so much!

  • @krateskim4169
    @krateskim4169 Рік тому

    Awesome video, waiting for next one

  • @6little6fang6
    @6little6fang6 Рік тому

    Thanks for these beacons of knowledge.

  • @aghileslounis
    @aghileslounis Рік тому +1

    short and excellent

  • @the3dcapybara
    @the3dcapybara Рік тому

    Thanks, it was pretty good explanation!

  • @JohnSmithhh
    @JohnSmithhh 11 місяців тому

    Thanks! Good explanation

  • @Jimba
    @Jimba 2 місяці тому

    great explanation thank you

  • @finadoggie
    @finadoggie 3 місяці тому

    very good video, thank you!

  • @pourlamouvance
    @pourlamouvance Рік тому +1

    Thanks!

  • @emongtindero
    @emongtindero Рік тому

    Enlightenment, thanks

  • @emondoraon
    @emondoraon Рік тому +1

    How about async?

    • @awesome-coding
      @awesome-coding  Рік тому +2

      Async / await is just sintactic sugar on top of the Promise API - so this is just the usual Event Loop.

  • @whatsanimesh
    @whatsanimesh 5 місяців тому

    What do you recommend Web Workers or WASM ?

    • @awesome-coding
      @awesome-coding  5 місяців тому

      It depends on the use case. I'd go with web workers if possible because of the simplicity. WASM usually implies adding another language in the mix.

  • @RedStone576
    @RedStone576 Рік тому

    very nice

  • @Ahmed-yr8wb
    @Ahmed-yr8wb Рік тому

    YOU ARE SO FUCKING AWESOME, THANK YOUUUUUUUUUUUUUUUUU

  • @anantawijaya1594
    @anantawijaya1594 Рік тому

    what a nice video

  • @pratiknaik261
    @pratiknaik261 Рік тому

    Nice and short

  • @dragosudrea12
    @dragosudrea12 Рік тому

    Can you make a video about web coponents ?

    • @awesome-coding
      @awesome-coding  Рік тому

      Hey!
      I did a Web Components related video recently which might be of interest to you - ua-cam.com/video/Jy0dMy2qDMo/v-deo.html
      Also, I can break down web components in a separate video for certain!
      Thanks for the suggestion!

    • @dragosudrea12
      @dragosudrea12 Рік тому

      @@awesome-coding wow thank you, I didn't expected a response

  • @mmprincic
    @mmprincic 3 місяці тому

    The challenge would be to pass functions to worker

  • @navidghasemi9685
    @navidghasemi9685 Рік тому

    great

  • @uhhHandle
    @uhhHandle Рік тому

    Yay

  • @gauravsharma3444
    @gauravsharma3444 Рік тому

    Just JavaScript being javascript. Mf, someone tell me is it single threaded or not.

  • @AlexanderSuraphel
    @AlexanderSuraphel Рік тому

    Like #42 :)

    • @awesome-coding
      @awesome-coding  Рік тому

      the answer to the Ultimate Question of life, the universe and pretty much everything

    • @AlexanderSuraphel
      @AlexanderSuraphel Рік тому

      @@awesome-coding :) took 7.5 milliion years to find out!

    • @awesome-coding
      @awesome-coding  Рік тому

      @@AlexanderSuraphel That's like 10 seconds in JavaScript time!

  • @tylerarrigoni7700
    @tylerarrigoni7700 9 місяців тому

    Nicely done