No description
				
			
		| exercises | ||
| extras | ||
| slides | ||
| .gitignore | ||
| lecture_timings_2025_plovdiv.md | ||
| README.md | ||
Parallel Python
A lecture from ASPP 2025. The slides and exercises are in slides/ and exercises/, respectively.
Lecture outline
- Processes, threads and THE GIL
 - Hands-on investigations of embarrassingly parallel problems
A. Multithreading with NumPy
B. The multiprocessing package
C. Blending processes and threads - Going further
 
Further resources
Asyncio
A really cool example of using asyncio with the kitchen program is in extras/.
Online
- Online textbook on operating systems, processes, threads, etc.
- Operating Systems: Three Easy Pieces
 - Chapters 4, 13, and 26 are particularly relevant.
 - But the whole book is interesting.
 
 - Report of a talk on Python concurrency types, with focus on sub-interpreters.
 - Comparison of multithreading, multiprocessing, and asyncio.
- Async Python: The Different Forms of Concurrency
 - Note the code snippets are a little outdated.
 
 - Example of webscraping with asyncio
 - Sub-interpreters in 3.12