Talks - Irit Katriel: CPython's Compilation Pipeline

Published: 28 August 2024
on channel: PyCon US
223
9

Over the last couple of years, CPython's compiler was refactored. In version 3.13, we will have access from Python scripts to more of the compilation stages: Instead of the old 4-stage pipeline (source -- tokens -- AST -- code object), we will have a more refined pipeline (source -- tokens -- AST -- optimized AST -- pseudo bytecode -- optimized pseudo bytecode -- bytecode -- code object).

This talk describes the new compilation pipeline of CPython 3.13 and the possibilities that it creates for CPython users, maintainers and educators. It presents Codoscope, a new vizualization tool that displays CPython's process of translating Python source code into an executable code object.


Watch video Talks - Irit Katriel: CPython's Compilation Pipeline online without registration, duration hours minute second in high quality. This video was added by user PyCon US 28 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 223 once and liked it 9 people.