~/talk

A bird's eye view of a compiler

Talkat NDC TechTown 2024 · 2024-09-09..09-12· [compilers-and-language-design]
links:none on file
slides:none on file

Overview of a compiler pipeline that parses source into tokens and an AST, lowers to IR, runs middle‑end analyses (constant folding, propagation, dead‑code elimination, loop‑invariant code motion, loop unrolling) and generates target code with register allocation and platform‑specific strategies; shows a Bison grammar + semantic actions to produce an AST, demonstrates SSA with phi nodes for easy dataflow, contrasts lowering classes/enums to JavaScript/C/assembly, and mentions built a front end in five days with LLVM to leverage its optimizers.

AI-written summary · about

  1. 0:00Compiler overview
  2. 7:43Compiler pipeline
  3. 10:56Lexical and syntax analysis
  4. 25:08Intermediate representations
  5. 28:01Middle end optimizations
  6. 41:39Back end transformations
  7. 45:34Code generation
  8. 50:59Compiler applications
~/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.