Saturday 2:30 p.m.–2:50 p.m. in Terrace
Communicating Sequential Processes: Multicore Programs in Standard CPython
Simon Law
- Audience level:
- Intermediate
Description
We live in a multicore world now: your cellphone has more CPUs now than your desktop did a decade ago.
Traditionally, Python programs have been sequential. With Communicating Sequential Processes (CSP), you can transform your CPython programs into concurrent programs.
Abstract
We will cover:
- Design of CSP-style programs
- How to convert existing programs
- Using the
threading
library for concurrent I/O - Using the
multiprocessing
library for concurrent processing - How to manage shared state