How Do Python Coroutines Work?

preview_player
Показать описание
A. Jesse Jiryu Davis
Python 3's new “asyncio” module is an efficient async framework similar to Node. But unlike Node, it emphasizes a modern idiom called "coroutines" instead of callbacks. Coroutines promise the best of two worlds: the efficiency of callbacks, with a natural and robust coding style similar to synchronous programming. I’ll explain how asyncio’s coroutines work, and show how they are built using Python generators, the “yield from” statement, and the Future and Task classes. You will gain a deep understanding of this miraculous new programming idiom in the Python standard library.
Рекомендации по теме
Комментарии
Автор

It's an amazing video for coroutines, even there is still something can't understand, maybe I should watch the video more times.

wdicc
Автор

need more of like these video's why can't I find them :)!

Shockszzbyyous
Автор

This talk is excellent and was criminally cut short!

FinallyAFreeUsername
Автор

The speaker does a fine job, but this talk is cut short, and the entire "punchline" of the subject is compressed into the last minute or two, and doesn't really allow for explaining Coroutines properly.

DaveAndersen
welcome to shbcf.ru