Overview
Explore the intricacies of gRPC Python, C extensions, and AsyncIO in this informative EuroPython 2020 conference talk. Gain insights into Cython's role in C extensions, learn strategies for managing the Global Interpreter Lock (GIL), and discover techniques for implementing non-blocking I/O in AsyncIO. Understand the performance improvements achieved through AsyncIO adoption and learn how to seamlessly integrate multithreading and AsyncIO within the same application. Delve into debugging practices using pdb and gdb, and explore the rationale behind choosing Cython for C extensions. Suitable for Python developers interested in asynchronous programming and those with a basic understanding of threads and processes.
Syllabus
Intro
Core and Python
What's Python C Extension?
Popular Gluing Approaches
Cython in a Nutshell
Python & gdb
Not blocking the loop, what a headache
Solution 1, our own 10 manager implementation
Sync and Async compatibility
Solution 2. poller thread implementation
Taught by
EuroPython Conference