Fast Native Data Structures - C-C++ from Python
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Explore advanced techniques for optimizing Python performance using C/C++ in this 46-minute EuroPython 2021 conference talk by Stefan Behnel and David Woods. Learn how to leverage Cython to compile Python code and utilize fast, memory-efficient native data types and structures. Discover methods for accessing Python data structure internals, processing NumPy array data, and implementing C++ STL standard library data structures as alternatives to high-level Python collections. Gain insights into creating high-level Python interfaces that enable rapid data processing while maintaining seamless integration with Python features and libraries. The talk covers topics such as static type declarations, memory allocation, C vectors, iterator protocols, C arrays, and advanced features, concluding with a Q&A session.
Syllabus
Intro
Static type declarations
Memory allocation
Python loop
C vector
Iterator protocol
Exposure to Python
C arrays
Python dict
C median
Advanced features
Questions
Taught by
EuroPython Conference
Related Courses
Faster pandasLinkedIn Learning Faster Python Code
LinkedIn Learning Cython Tutorial - Bridging Between Python and C-C++ for Performance Gains
sentdex via YouTube Cython 3 - Python at the Speed of C
EuroPython Conference via YouTube Extending Cython with GIL-Free Types
EuroPython Conference via YouTube