YoVDO

Extending Cython with GIL-Free Types

Offered By: EuroPython Conference via YouTube

Tags

EuroPython Courses Cython Courses Global Interpreter Lock (GIL) Courses

Course Description

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

Related Courses

A Brief History of Data Storage
EuroPython Conference via YouTube
Breaking the Stereotype - Evolution & Persistence of Gender Bias in Tech
EuroPython Conference via YouTube
We Can Get More from Spatial, GIS, and Public Domain Datasets
EuroPython Conference via YouTube
Using NLP to Detect Knots in Protein Structures
EuroPython Conference via YouTube
The Challenges of Doing Infra-As-Code Without "The Cloud"
EuroPython Conference via YouTube