Dive into the inner workings of CPython's compiler and execution model in this 31-minute conference talk from EuroPython 2018. Explore the journey of Python code from writing to execution, covering crucial concepts such as tokenization, parsing, bytecode generation, and the stack-based virtual machine. Gain insights into how Python keeps track of running code through line number tables, code objects, frame objects, and function objects. Suitable for Python developers of all levels, from beginners to experts, learn about the intricacies of CPython's bytecode serialization, caching mechanisms, and overall execution process. Enhance your understanding of Python's underlying architecture and broaden your perspective on how your code comes to life in the CPython interpreter.
Bytecodes and Stacks - A Look at CPython’s Compiler and Its Execution Model
EuroPython Conference via YouTube
Overview
Syllabus
Petr Viktorin - Bytecodes and stacks: A look at CPython’s compiler and its execution model
Taught by
EuroPython Conference