~/talk

Hello World from Scratch

Talkat ACCU 2019 · 2019-04-10..04-13· [compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

Starts with a bare C++ hello world and traces every concrete step to a runnable ELF binary: preprocessor -> compiler front/middle/back -> assembler -> linker; shows macros and includes as textual substitution, lexing/parsing into an AST, IR (LLVM) lowering, liveness analysis and graph‑coloring register allocation, instruction selection (macro expansion vs SelectionDAG), scheduling and peephole optimizations, emitting .rodata and .text with relocations, linker resolving puts from libc, and finally the bytes execute and print "hello world".

AI-written summary · about

  1. 0:00Introduction to Hello World
  2. 1:26Hello World in C
  3. 7:52Compiler overview
  4. 15:22Front end of compiler
  5. 29:11Lexing and parsing
  6. 37:10Semantic analysis
  7. 40:20Intermediate representation
  8. 49:19Middle end optimizations
  9. 58:30Back end compilation
  10. 1:07:03Register allocation
  11. 1:15:30Assembling and linking
  12. 1:19:43Final executable
~/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.