Overview
Discover how to leverage the async/await language feature for writing asynchronous code in Python and Cython in this 42-minute conference talk from EuroPython 2016. Explore the powerful low-level features Cython offers to accelerate or parallelize code, interface with external C/C++ code, and achieve improved responsiveness and reduced latency in I/O-bound applications. Gain insights into the recent developments in asynchronous programming in Python, including the asyncio library and async/await features in Python 3.5. Learn about Cython's full language support for async/await across Python versions 2.6 and above, as well as its native interoperability with existing Python code and Python 3.5 coroutines. Understand how Cython-compiled coroutines can perform 2-3 times better than pure Python execution while maintaining compatibility. Explore practical applications of these techniques to extend the scope of asynchronous programming and enhance application performance.
Syllabus
Stefan Behnel - Fast Async Code with Cython and AsyncIO
Taught by
EuroPython Conference