Exploring Python Bytecode

July 20, 2016 00:00

EuroPython 2016

Do you ever wonder how your Python code looks to the interpreter? What those .pyc files are? Why one program outperforms another, even if the code is similar? Then let’s dive into Python bytecode! Bytecode is the "intermediate language" that expresses your source code as machine instructions the interpreter can understand. In this talk we’ll see what role it plays in executing Python programs, learn to read it with the dis module, and analyze it to better understand a program’s performance.

Views:
52
Download:

speaker

strongwalter

strongme

more decks of the speaker