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

Artificial Intelligence for Robotics
Stanford University via Udacity
Intro to Computer Science
University of Virginia via Udacity
Design of Computer Programs
Stanford University via Udacity
Web Development
Udacity
Programming Languages
University of Virginia via Udacity