Overview
Explore the evolution and implementation of async/await in Python 3.5 through this EuroPython Conference talk. Dive into the history of asynchronous programming in Python, from Twisted to asyncio, and understand why async/await is a game-changing feature. Learn how to use async/await with practical examples using asyncio and curio frameworks. Gain insights into the internal workings of async/await in CPython, starting from generators and 'yield' expressions. Discover the story behind the development of PEP 492 and how it was rapidly implemented in Python 3.5. Understand the impact of async/await on Python's future and learn how to contribute to the language's evolution.
Syllabus
Intro
What I do for Python
One obvious way to do it
Coroutines: yield from & refactoring
Coroutines: async/await
Why async/await is the answer
asyncio: what's inside?
asyncio is simple.
loop.create_task
asyncio.gather
loop.run_in_executor
loop.close()
asyncio: debugging
How fast is uvloop?
OK, it's faster than asyncio...
Language Summit 2015
PEP & Implementation
Taught by
EuroPython Conference