Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore an experimental extension to Cython called Cython+ in this 30-minute EuroPython 2021 conference talk. Dive into the development of GIL-free reference-counted types and a type system for thread-safe concurrency. Learn how Cython was extended to bridge the gap between Python's high-level semantics and C's low-level memory management, allowing for GIL bypassing while maintaining a Python-like syntax. Discover the process of creating new language features that translate to GIL-agnostic C or C++, including a new class system, thread-safe reference counting, and an ownership type system inspired by Pony and Rust. Gain insights into how these extensions can provide massive speedups and seamless interoperability with C libraries while maintaining a familiar programming experience for Python developers.
Syllabus
Intro
Introduction
What is siphon
What is GIL
The class system
Reference capabilities
Questions
Taught by
EuroPython Conference