A one hour Python knowledge sharing session. Delivered to Gigaclear devs on April 18th 2024.
A look at the principles of concurrency in general and for Python specifically.
Topics covered:
The history of concurrency from AmigaOS to a multi-core world
Python and the Global Interpreter Lock
I/O bound and CPU bound tasks
Threads and processes
Async programming (green threading, coroutines)
Concurrency with threads
Concurrency with multiprocessing
Looking to the future (Python 3.13): optional GIL (PEP 703) and subinterpreters (PEP 554)
Slides and example code here: https://github.com/voidspace/talks