~/talk

The Long Hello World

Talkat PyCon AU 2025 · 2025-09-12..09-16· [python, web-platform]
slides:none on file

Follows print("hello world") all the way from the REPL through the tokenizer, PEG parser, bytecode compiler, and CPython VM into G nu C's write, the Linux syscall, VFS/PTY and the kernel memcpy that executes the final 12 bytes to the terminal; demos use the tokenize ast and dis command‑line tools, notes about ~100 opcodes and a JIT that fires on hot loops after repeated backward jumps, shows the final move Q assembly and confirms the string appears as expected.

AI-written summary · about

  1. 0:00Welcome
  2. 1:18Hello World to Python stack
  3. 2:22Lexing and tokenizing
  4. 3:24Abstract syntax tree
  5. 5:08Parsing grammar in Python
  6. 6:10Python as compiled
  7. 6:31CPython VM and op codes
  8. 7:57Bytecode creation
  9. 8:58Executing bytecode
  10. 10:20Scoping and built-ins
  11. 11:04Tracing print execution
  12. 11:24Streams and file descriptors
  13. 12:47Introduction to libc
  14. 13:50User vs kernel space
  15. 15:14Syscall dispatch in Linux
  16. 16:16Virtual file system
  17. 17:18TTY and pseudo-terminals
  18. 18:43Kernel memory copy
  19. 20:06Returning to user space
  20. 20:49Rendering Hello World
  21. 21:10Why internals matter
  22. 22:00Q&A
  23. 22:43Discussion on Python performance and unicorns
  24. 24:05JIT compilation deep dive
  25. 25:54Closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.