YoVDO

Cython to Speed Up Your Python Code

Offered By: EuroPython Conference via YouTube

Tags

EuroPython Courses Python Courses Memory Management Courses Code Optimization Courses Cython Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore Cython's powerful capabilities for accelerating Python code in this 46-minute EuroPython 2018 conference talk by core developer Stefan Behnel. Discover how to profile Python modules, compile them into fast binary extension modules, and optimize performance using Cython's static type annotations and seamless integration of Python, C, and C++ features. Learn to leverage Cython's ability to translate Python to C/C++ code while applying static optimizations, and understand how to effectively mix high-level Python constructs with low-level C/C++ elements like native data types, pointer arithmetic, and manual memory management. Gain insights into profiling techniques, code optimization strategies, and maintaining compatibility with common development tools while significantly boosting execution speed.

Syllabus

Introduction
Python data ecosystem
Why use Cython
Sine function
Jupiter
Patent
Sign
Petal function
siphon
C code
Object operations
Wrappers
Example
Memory handling
Memory cleaning
Calling external code
Interface
Runtime
Recursive
Flip
longestmatch
Nested loops
Replacing Python integer types
Optimizing code in Cython


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