Asyncio: Understanding Async / Await in Python

Publicado em: 02 Março 2021
no canal de: Code Geek
127
7

Asyncio: Understanding Async / Await in Python. Often when asyncio is discussed, people think of it as a high performance concurrency programming paradigm for Python. In this talk however, we approach asyncio from a different angle, one that will possibly help some of you to finally get what asyncio is about. It's not only about performance, but at least as much about correctness and readability of concurrent applications.
Python Tutorial - Python GUI Programming - Python GUI Examples (Tkinter Tutorial)
☞ https://morioh.com/p/f3bdfe6286ee

APIs for Beginners - What is an API? How to use an API?
☞ https://morioh.com/p/422b616d71a2

Building an Analytics Dashboard with Django
☞ https://morioh.com/p/88d6fc714f52


Concurrency is hard to get right.

Often when asyncio is discussed, people think of it as a high performance concurrency programming paradigm for Python. In this talk however, we approach asyncio from a different angle, one that will possibly help some of you to finally get what asyncio is about. it's not only about performance, but at least as much about correctness and readability of concurrent applications.

It is known that for multithreaded applications, synchronization is hard to get right. Doing it wrong can either lead to deadlocks or broken data structures.

We will have a look at how using asyncio is different from using threads, when it's better and what pitfalls we have.

This talk should be a good introduction for anyone just starting with asyncio, but can also clarify things for people that are using asyncio already. I expect people to have at least used some form of concurrency, either threads or an event loop like we have in JavaScript.

#Morioh #Python #Asyncio



PUBLICATION PERMISSIONS:
Original video was published with the Creative Commons Attribution license (reuse allowed). Link:    • Asyncio: understanding async and awai...  
------------------------------------------------------------------------------------
Social Network for Developers: http://bit.ly/2R1Lw31
Developer's Store: http://bit.ly/2L27JNR
Learn Startup: http://bit.ly/2UDotMN
Fanpage: http://bit.ly/2LyM4fJ


Nesta página do site você pode assistir ao vídeo on-line Asyncio: Understanding Async / Await in Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Code Geek 02 Março 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 127 vezes e gostou 7 espectadores. Boa visualização!