Python and Parallelism
Typical duration: 1 day
Course code: PY03
How to combine Python and Parallelism?
Training topicsCombining Python and Parallelism
Python is often seen as not well suited for parallelism, one of the reasons being its Global Interpreter Lock. We show how to use the languages powerful features in a parallel context, and how to get the most out of compute and I/O despite the existing limitations.
We also provide an introduction to mixing Python with C and C++, which can be helpful in a multi-threading and multi-core processing scenario.
After the course, the students will:
- Understand the key concepts of parallelism in Python and minimize side-effects
- Create efficient parallel programs
- Perform basic interfacing between C/C++ and Python
Parallel programming in Python - opportunities and constraints
Combining Python with C/C++ applications
Combining Python with parallel applications