~/lightning

A quick view into a compiler

Lightningat Meeting C++ 2017 · 2017-11-09..11-11· [compilers-and-language-design]
slides:none on file

A compact tour moves from source text through preprocessor-lexer-parser-analyzer into an AST then an IR, describes the middle end running dozens of passes and shows a concrete optimization: constant folding to 15 when 5+10 are known at compile time, then the backend mapping IR to real instructions, doing register allocation and spilling, instruction scheduling, assembling and linking into object code, and notes which steps are machine-independent versus machine-dependent.

AI-written summary · about

  1. 0:00Introduction
  2. 4:55Optimizations
  3. 6:28Backend
  4. 8:27Assembly
~/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.