~/talk

The Long Hello World

Talkat PyBay 2025 · on Saturday, 2025-10-18· [python]
slides:none on file

Starts at a Python REPL and follows print("hello world") down the stack: tokenizer → PEG parser → CPython compiler → ~100 opcodes → pyeval eval_frame_default executing a load_name and call that resolves to the built-in print, which invokes write(1, buffer, 12) via Gibb C into the Linux syscall (syscall id 1), dispatches to VFS → TTY → PTY, memcpy uses five movq instructions in assembly and the bytes appear on-screen; print("hello world") syscall id 1 12 bytes PTY

AI-written summary · about

  1. 0:00Introduction to the stack
  2. 1:06Lexing and tokenization
  3. 3:38Parsing syntax trees
  4. 4:55Compilation and op codes
  5. 7:52Executing Python bytecodes
  6. 10:28Interfacing with libc
  7. 12:38Kernel system calls
  8. 16:06Device drivers and output
  9. 19:04Conclusion and takeaways
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.