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

YouTube

The Cython Compiler for Python

EuroPython Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the Cython compiler, the most widely used static compiler for Python, in this 48-minute EuroPython Conference talk by core developer Stefan Behnel. Gain insights into compiling Python code into fast native extension modules and connecting native code to the CPython runtime. Learn how to optimize Python code for C-like speed through static typing and Cython language extensions. Discover techniques for interfacing with external C/C++ APIs and leveraging special features for high-performance computing, including NumPy integration, memory views, fused types, and parallel loops. Understand the project's goals, compiler usage, and major features through practical examples and demonstrations. Delve into topics such as distutils integration, type system intricacies, and efficient ways to wrap large C-APIs. Perfect for developers seeking to enhance Python performance and extend CPython capabilities.

Syllabus

Intro
Who am I
Siteon
Example
Distribution
Versions
Language Features
Speed
Static type declarations
Demo
Lang
Manual decoding
Hy function
Callbacks
Function Calls
Strikes
Python syntax
Python code
Performance features
Slicing
Fuse Types
Parallel Code
Efficiency
Pareto Principle
Questions

Taught by

EuroPython Conference

Reviews

Start your review of The Cython Compiler for Python

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.