~/talk

Literate Tracing

Talkat Onward! 2025 · 2025-10-12..10-18· [developer-experience, documentation]
slides:none on file

Argues that documentation built from annotated, concrete executions makes huge codebases understandable: literate traces walk real runs, show input→output, and attach visual state to source lines. Implements TReX that runs the program under GDB, extracts state into HTML/LaTeX, offers a single-stepper and Python visualization modules, and is faithful by construction. Applied to Linux kernel, Git, GCC and Minisat; it works but diagram generation lacks a good DSL and run-to-line fragility suggests CI integration or autofix for maintenance.

AI-written summary · about

  1. 0:00Software complexity study
  2. 3:15Documentation for understanding
  3. 5:42Literate tracing concept
  4. 6:48First literate trace example
  5. 9:43Literate trace features
  6. 11:28Building literate traces
  7. 12:30Literate tracing vs programming
  8. 13:13Quick start to traces
  9. 16:47Custom visualizations
  10. 19:37Describing program state
  11. 22:03Documentation with code changes
  12. 22:43Value of literate tracing
  13. 24:29Audience questions and discussion
~/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.