Asynchronous Programming in a Nutshell

preview_player
Показать описание
In this video, I cover the basics of asynchronous programming in a simple manner, and how it differs from synchronous programming.

◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️

◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️

⭐️ Tags ⭐️
Asynchronous Programming, What is Asynchronous Programming, Programming Terms, Programming

⭐️ Hashtags ⭐️
#techwithtim #shorts
Рекомендации по теме
Комментарии
Автор

you should also make a short about the difference between asynchronous programming and multi-threading 👍

ban_droid
Автор

An excellent analogy to demonstrate Asynchronous Programming. Great job as always, Tim.

Avarn
Автор

This example is also given in the Microsoft documentation of C#, however, I think it might feel incomplete for beginners. Let me elaborate: The example is pretty good to get the concept, but when people start implementing asynchronous methods at first, they don't really see the difference and might be left wondering. That's why I believe the concept of shared context of the main worker thread needs to be explained and also the beginners should be guided to think in a broader picture:

Let's say you're bulding an API. Try hitting some endpoints which are synchronous and then change their methods to be asynchronous and you'll see the difference. Asynchronous programming makes your code more usable, it doesn't necessarily start new threads, but it can also introduce race conditions.

I hope my comment is comprehensive, apologies if it is not.

georgeblazhev
Автор

Coool, so compared to threading and multiprocessing, are there particular use cases whereby asynchronous programming is beneficial; or just in general?

rikhilsingh
Автор

Your explanation is incredibly useful, and i like how you represented the Synchronous and Asynchronous programming.🎉
🎉

Ayoub_Shnab
Автор

That's literally the freecodecamp course about asynchronous prog condensed in a short but that indian guy was very fun. Not complaining.

honkhonkv
Автор

Okay Tim, when can we expect more in depth video with examples?

krystian
Автор

You didn't make it clear whether time stops in the oven or the cooking continues while you're on another task.

EvilCherry
Автор

This is pretty much interrupts explained.

Mohamed.U
Автор

I don't think pause is a good word for it you'll just end up confusing people.. Next

philliam
Автор

Hey tim. Python is the most useless language. Prove me wrong

Tick
Автор

I just called it parallel processing. But hey, asynchronous programming works, too

me
Автор

So how icloud of apple sync or async? I think it's asynchronous, right? 😂

zea
Автор

Finally I get it 😅. Thanks for simplifying it

derickongeri
Автор

you explained it better than my Udemy instructor

enriqueavalos
Автор

A real life example is the best to make something understandable 👍thnaks

dennisdevink
Автор

I remember when he used to make videos

grahamkelly
Автор

Asynchronous Programming is kind of like pipelining in Computer Architecture 🎉, great analogy man

Naan_Oru_Kirukkan_Da
Автор

But what would you be waiting for when programming if you are the only one working on it?

laafawnduh