YoVDO

Python and PyPy Performance - Not for Dummies

Offered By: EuroPython Conference via YouTube

Tags

EuroPython Courses Software Development Courses PyPy Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore Python and PyPy performance optimization in this comprehensive 57-minute EuroPython Conference talk. Gain insights into Python program compilation and execution, with a focus on PyPy's just-in-time compilation. Learn about the range of performance improvements achievable with PyPy, from slight enhancements over CPython to C-like speeds. Discover how to write and optimize code for PyPy, understand JIT compiler heuristics, and utilize performance analysis tools. Delve into topics such as premature optimization, specialization, tradeoffs, and PyPy-friendly coding practices. Examine compatibility layers, Windows support, garbage collection, and PyPy extensions. Acquire the knowledge to make informed decisions about replacing CPython with PyPy and optimizing Python code for maximum performance.

Syllabus

Intro
Premature optimization
What is performance like
Python performance
PiePy performance
Profiler
Optimization
Current releases
Speed
How it works
Specialization
Tradeoff
Friendly to PyPy
General advice
Compatibility layer
Optimize code
Windows support
FreeBusy
Can I just replace Python with PyPy
Garbage collector
PyPy extension
Time spent in PyPy
Time spent in user code
Python overhead


Taught by

EuroPython Conference

Related Courses

Status Quo of Virtual Environments
EuroPython Conference via YouTube
Opening PyPy's Magic Black Box
EuroPython Conference via YouTube
Adventures in Compatibility - Emulating CPython's C API in PyPy
EuroPython Conference via YouTube
PyPy Meets Python 3 and Numpy
EuroPython Conference via YouTube
A Faster Python? You Have These Choices
EuroPython Conference via YouTube