ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Python Asynchronous Programming - 2 - Synchronous vs Asynchronous

Автор: buildwithpython

Загружено: 2022-01-28

Просмотров: 8779

Описание: Before we start coding lets understand the terms and differences between Synchronous vs Asynchronous Programming.

Synchronous
In sequence. One after other. Thread is blocked.Speed of execution of code depends on your process. Has to wait for the funtion to end ( Example infinite while loop)
Asynchronous
Doesn't has to wait for a part of code to be finished before executing another one.

Example
Human (thread) is waiting in line for movie tickets. For the sake of this example , he is unique human being who can only do 1 thing at a time. So while waiting in line for movie tickets. He can't do anything else. We can also say he has locked on to only getting movie tickets. He can't use intagram while getting movie tickets. Only after he has gotten the movie tickets he can start using instagram on his phone. This is an example of synchronous programming. Now this sounds a lil dumb he should be a ble to use instagram which waiting in line for the movie tickets. This in code is achived by asynchronous programming.

Next video - Async vs MutilThreading vs MultiProcessing

Full playlist -    • Python Asynchronous Programming with Async...  

Subscribe -    / @buildwithpython  

Instagram -   / buildwithpython  

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Python Asynchronous Programming - 2 - Synchronous vs Asynchronous

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Python Asynchronous Programming - 3 vs MultiThreading vs MultiProcessing

Python Asynchronous Programming - 3 vs MultiThreading vs MultiProcessing

Python Asynchronous Programming - AsyncIO & Async/Await

Python Asynchronous Programming - AsyncIO & Async/Await

Asyncio in Python - Full Tutorial

Asyncio in Python - Full Tutorial

threading vs multiprocessing in python

threading vs multiprocessing in python

Next-Level Concurrent Programming In Python With Asyncio

Next-Level Concurrent Programming In Python With Asyncio

Я перепрошёл ПВЗ без УРОНА и ЗАТРОЛЛИЛ комьюнити

Я перепрошёл ПВЗ без УРОНА и ЗАТРОЛЛИЛ комьюнити

AsyncIO & Asynchronous Programming in Python

AsyncIO & Asynchronous Programming in Python

Мы победили Jeep! Все было так просто…

Мы победили Jeep! Все было так просто…

Unlocking your CPU cores in Python (multiprocessing)

Unlocking your CPU cores in Python (multiprocessing)

AsyncIO, await, and async - Concurrency in Python

AsyncIO, await, and async - Concurrency in Python

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]