Главная
Study mode:
on
1
Intro
2
Who am I
3
Siteon
4
Example
5
Distribution
6
Versions
7
Language Features
8
Speed
9
Static type declarations
10
Demo
11
Lang
12
Manual decoding
13
Hy function
14
Callbacks
15
Function Calls
16
Strikes
17
Python syntax
18
Python code
19
Performance features
20
Slicing
21
Fuse Types
22
Parallel Code
23
Efficiency
24
Pareto Principle
25
Questions
Description:
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.

The Cython Compiler for Python

EuroPython Conference
Add to list
0:00 / 0:00