Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Parallel Programming and Cython

EuroPython Conference via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore parallel programming capabilities in Cython through this comprehensive conference talk from EuroPython 2025. Learn how to leverage Cython's tools for generating high-performance C/C++ code from Python-like syntax while implementing effective parallelization strategies. Discover four key approaches to parallel programming in Cython: the built-in "prange" mechanism for handling loops with independent iterations, utilizing Python's threading module with performant Cython code, accessing C++ standard library threading tools with proper synchronization techniques, and implementing subinterpreters for isolated parallel processes. Examine recent improvements targeting freethreaded Python, including the new `cython.critical_section` feature that provides convenient syntax around Python's internal critical sections. Compare the differences and similarities between Python's Global Interpreter Lock (GIL) and the localized interpreter locks in freethreaded builds. Understand Cython's approach to thread-safety in freethreaded environments through practical examples from Cython internals, and gain insights into writing performant, thread-safe code that works effectively in both traditional and freethreaded Python environments.

Syllabus

Parallel programming and Cython — David Woods

Taught by

EuroPython Conference

Reviews

Start your review of Parallel Programming and Cython

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.