Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

All Singing All Dancing Python Bytecode

EuroPython Conference via YouTube

Overview

Explore the intricacies of Python bytecode in this comprehensive EuroPython 2013 conference talk. Delve into the fundamentals of bytecode, its usage, and the importance of studying it. Gain insights into opcodes, the virtual machine, stack operations, and variable types. Learn about free and cell variables, data and metadata, and how to create a simple disassembler. Discover advanced topics such as function defaults, globals, const tables, and line numbers. Examine how modules and classes function as callables, and understand the process of creating functions by hand. Compare readable and hand-coded bytecode, and explore class disassembly techniques. Conclude with an overview of the simplest possible virtual machine and valuable resources for further study.

Syllabus

Introduzione
What Is Bytecode?
When Is Bytecode Used?
Why Study Bytecode?
The Whole Picture
Opcodes and HAVE_ARGUMENT
The VM
Stack Machine Part 1
Bytecode Variable Types
Free And Cell Variables
Data And Metadata, Part 1
The Simplest Useful Disassembler
Function Defaults
Globals And Const Tables
Line Numbers
Advanced Topics
Modules Are Callables
Classes Are Callables, Part 2
Creating A Function By Hand
Readable & Hand-Coded, Part 2
Maynard vs. gunk
Class Disassembly With Maynard
The Simplest possible VM, Part 5
Resources

Taught by

EuroPython Conference

Reviews

Start your review of All Singing All Dancing Python Bytecode

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.