Predict what CPython does with a line of code, choose a concurrency model with measured numbers, and profile and speed up a real program with results you can defend.
You will learn to
- Predict what CPython does with a line of code, from bytecode to memory
- Choose between threads, processes and asyncio with measured numbers
- Profile a real program and speed it up with results you can defend
How CPython runs code
See How CPython Runs Your Code5 lessons · 1 free
- Read bytecode with dis and predict what a line costs
- Follow source to bytecode: tokens, AST, symbol table, code object
- Read frames, the call stack and tracebacks
- Watch the specializing interpreter warm up
- Price calls and attribute lookups with a measured table
Account for Memory and Lifetime5 lessons · 1 free
Loading lessons. See the lessons in the course
Rebuild Dicts, Sets and Sequences4 lessons · 1 free
Loading lessons. See the lessons in the course
Objects and the data model
Master the Data Model6 lessons · 1 free
Loading lessons. See the lessons in the course
Control Flow with Functions, Generators, Contexts and Exceptions6 lessons · 1 free
Loading lessons. See the lessons in the course
Concurrency
Choose a Concurrency Model5 lessons · 1 free
Loading lessons. See the lessons in the course
Share State Safely Across Threads and Processes3 lessons · 1 free
Loading lessons. See the lessons in the course
Structure Asyncio Programs3 lessons · 1 free
Loading lessons. See the lessons in the course
Design, test and ship
Design and Test for Change3 lessons
Loading lessons. See the lessons in the course
Control Imports, Environments and Packaging3 lessons
Loading lessons. See the lessons in the course
Performance
Profile and Optimise with Measurements5 lessons
Loading lessons. See the lessons in the course
Cross the Native Boundary2 lessons
Loading lessons. See the lessons in the course
Capstone
Speed Up a Real Program3 lessons
Loading lessons. See the lessons in the course
Project Report the speedup with intervals


























