Async JavaScript Part 2: Async vs Sync Explained!

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

КОМЕНТАРІ • 75

  • @TheCoderCoder
    @TheCoderCoder 3 роки тому +32

    Excellent explanation! The illustrations really helped :)

    • @checkmate6732
      @checkmate6732 3 роки тому

      where do I know you from woman

    • @aniakubow
      @aniakubow  3 роки тому +1

      Glad you think so, thanks Jess :)

    • @bekjohansson3016
      @bekjohansson3016 3 роки тому +2

      My favoirte female coders should do a colab don't you think @codercoder and @codewithaniakubow

    • @lulubx22
      @lulubx22 3 роки тому

      @@checkmate6732 dude are you alright?

    • @checkmate6732
      @checkmate6732 3 роки тому

      @@lulubx22 I'm fine, how are you ?

  • @sacrajah
    @sacrajah 3 роки тому +3

    Just explained systamatically . Looking forward the next one. Thank you very much

  • @tomcat1112k
    @tomcat1112k 3 роки тому +2

    so excited to learn how to show the image! 🤩

  • @bekjohansson3016
    @bekjohansson3016 3 роки тому

    Ania, you such a tease...but brilliant because it gets me coming back for more. Excellent explantion.

  • @ksosaFPV
    @ksosaFPV 3 роки тому

    The single thread picture along with the clear explanation helped me to finally understand sync and async. Thank you!!

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

    You're the master of explaining. Thanks for this video!

  • @bmngatia474
    @bmngatia474 3 роки тому

    Every time I see Anna I can't help but feel happy

  • @kingbeencent
    @kingbeencent 3 роки тому

    I've just discovered this channel, and I really love it! :D

  • @mjKeszely
    @mjKeszely 3 роки тому +40

    When you call your dragons and they both start coming back - that's async. But if you can call the second dragon only after the first one lands, then you are only sync.

    • @aniakubow
      @aniakubow  3 роки тому +8

      Haha yes!!! Best comment ever

    • @checkmate6732
      @checkmate6732 3 роки тому

      @@aniakubow really? that wasn't funny at all

    • @aniakubow
      @aniakubow  3 роки тому +4

      @@checkmate6732 its a in-joke :)

    • @bekjohansson3016
      @bekjohansson3016 3 роки тому +1

      Awesome analogy!!

    • @checkmate6732
      @checkmate6732 3 роки тому +1

      @@aniakubow actually it's an outside-joke, your resemblance to khaleesi is clear.

  • @DZ4Team
    @DZ4Team 2 роки тому +1

    so async load your page with missing content, so that's why adsense tags are the last thing to load in my blog and sometimes dont.

  • @jareddeuriarte8813
    @jareddeuriarte8813 3 роки тому +2

    patiently awaiting promises!

  • @PURE_V3NOM
    @PURE_V3NOM 3 роки тому

    Damn great explanation. Been trying to understand this concept for years. Thank you. Subbed and liked.

  • @rangabharath4253
    @rangabharath4253 3 роки тому

    Awesome as always Ania 👍😀

  • @swaroop2518
    @swaroop2518 3 роки тому +2

    Great javascript tutorials. Please add them in a seperate playlist.

  • @sweettoothxd1887
    @sweettoothxd1887 3 роки тому +2

    Damn miss! this video is what I needed right now, thank you very much!!!

  • @sahilaujla
    @sahilaujla 3 роки тому +1

    waiting for it!!

  • @sanjay.s4916
    @sanjay.s4916 3 роки тому

    I really enjoyed your videos and become a new subscriber. Your teaching skills are awesome👏👏.
    Thanks for the crystal clear explanation

  • @melania239
    @melania239 3 роки тому +2

    Another video from my queen 😊

  • @hanhai8515
    @hanhai8515 3 роки тому +1

    Hi Ania, great video. One advice, In the end, I was hoping you can show some real examples of show image throwing an error when fetch image is not ready. That will probably help me understand better.

  • @bloxzyo
    @bloxzyo 3 роки тому

    Had a light bulb moment..... now i understand what is meant by asynchronous javascript..... I have known the buzz words... but have had troubles in understaning the concepts.... this video solved it for me....

  • @trapmuzik281
    @trapmuzik281 3 роки тому +8

    Ania is the JS QUEEN

  • @ZurioSi
    @ZurioSi 3 роки тому +1

    Amazing video! love it

  • @cyberpunkdarren
    @cyberpunkdarren 3 роки тому +3

    I'm glad we can sync up on this

  • @ricardosmith5753
    @ricardosmith5753 2 роки тому

    Good explanation and visuals 👍🏾

  • @Therealburds
    @Therealburds 3 роки тому

    A very good topic you just covered.

  • @corneliusisaac6539
    @corneliusisaac6539 3 роки тому

    I love your concept of illustration of single thread using the vertical line. Highly simplified. Keep it up.

  • @oleksandrlesiuk6239
    @oleksandrlesiuk6239 3 роки тому

    What a beautiful developer :)

  • @Geek-jx3gw
    @Geek-jx3gw 2 роки тому

    you are so amazing and clever, thanks a lot

  • @Carisma2012
    @Carisma2012 3 роки тому

    mostmost beautiful programmer I've ever seen

  • @nivedvv3101
    @nivedvv3101 3 роки тому +1

    Good explanation 👌🔥

  • @williamblacksmith9667
    @williamblacksmith9667 3 роки тому

    Good work, Thanks

  • @tomcat1112k
    @tomcat1112k 3 роки тому

    I was just having photophobia because of the monitor's 70% brightness, especially the "pink" color that you chose! I had to turn down the brightness to 45% to rest my eyes.

  • @ukasziwanski8465
    @ukasziwanski8465 3 роки тому +4

    Dla zasięgów. Pozdr

  • @viksankar973
    @viksankar973 3 роки тому

    great video. Could you do a video on debugging javascript/typescript?

  • @nabil7913
    @nabil7913 3 роки тому

    Thank you i hope if you can upload courses about php and mor programing languages cause i really love your Videos thanks

  • @bruno.dominguez1303
    @bruno.dominguez1303 3 роки тому

    I am loving your videos, your way of explaining things is awesome. But... I still don't get it.
    The last illustration shows a thread with these texts: SOME CODE, FETCH IMAGE and SHOW IMAGE, why does the SHOW IMAGE runs before SERVER gives a response to FETCH IMAGE? If FETCH IMAGE is sync, then the next line should run after its completion, right?

  • @elangovan3697
    @elangovan3697 3 роки тому +1

    I am waiting

  • @seanmills3502
    @seanmills3502 2 роки тому

    What do you call asynchronous Javascript that retrieves song information?
    NSYNC..

  • @MuhammadAmiruddien
    @MuhammadAmiruddien 23 дні тому

    Terima kasih.

  • @anshrathod
    @anshrathod 3 роки тому +2

    80k😍😍

  • @SeanCarter
    @SeanCarter 3 роки тому

    Now using asynchronous JS is a completely different struggle 😅

  • @escorpiodeoctubre
    @escorpiodeoctubre 3 роки тому

    La diosa del software

  • @innerresonance6682
    @innerresonance6682 3 роки тому

    What are your thoughts on NSync?

  • @v-leo7766
    @v-leo7766 2 роки тому

    after trying it on a project - All i learned is that Async/Await for the first time can make your nose bleed and make jumping off a building seem tempting. Async Await is A Demon.....Kille da whole day -- no -- week - to try to get a long chain to work. I miss sequential programming.
    10 PRINT "HELLO, WORLD."
    20 PRINT "THIS IS EASY"
    30 GOTO 10
    NOTE: 20 WILL NEVER BEFORE 10
    Ania, I miss your hamburger examples.

  • @sephirot7581
    @sephirot7581 3 роки тому

    At 3:41 the explanation is not the best one. Async Javascript is also single threaded

  • @goat3760
    @goat3760 3 роки тому

    when the next video

  • @mecharenastuff
    @mecharenastuff 3 роки тому

    Need suggestions people! Should I start my journey by learning Python or JavaScript? Would appreciate it if y'all can help.

  • @jordansalazar1482
    @jordansalazar1482 3 роки тому

    Best cliffhanger ever.

  • @architect-_-8329
    @architect-_-8329 3 роки тому

    Time to learn the difference between Async vs sync I am pump.

  • @B42536
    @B42536 3 роки тому

    Ania I am your follower when you had 5k subs. I will not share you, either like your videos. I am jealeous to you)

    • @aniakubow
      @aniakubow  3 роки тому +1

      Thanks for all your support since the beginning! (even if you wont like or share haha, its cool :) )

  • @fanegantosin2973
    @fanegantosin2973 3 роки тому +1

    Ania please make it so simple
    Cos I need to get the crazy confusion out of my head

  • @CoryResilient
    @CoryResilient 3 роки тому

    😍

  • @matheusmaaia
    @matheusmaaia 3 роки тому

    I'm platonic in love with you girl!

  • @rehaanredkar1489
    @rehaanredkar1489 3 роки тому

    Thank you Daenerys of the House Targaryen, the First of Her Name, The Unburnt, Queen of the Andals, the Rhoynar and the First Men, Queen of Meereen, Khaleesi of the Great Grass Sea, Protector of the Realm, Lady Regent of the Seven Kingdoms, Breaker of Chains and Mother of Dragons

  • @zeroes5237
    @zeroes5237 3 роки тому +1

    Sorry, but I came to your channel to learn how to program, but I only got lost in your eyes :3

  • @pmanolak
    @pmanolak 2 роки тому

    Great video from a great girl!
    waiting for a series of videos about postman and api testing!

  • @melania239
    @melania239 3 роки тому +5

    Another video from my queen 😊