~/talk

Hello World From Scratch

Talkat CppCon 2019 · 2019-09-15..09-20· [compilers-and-language-design, c-and-cpp]
links:none on file
name:Sy Brand
slides:none on file

Shows a line-by-line build from source text to running binary: preprocessor expansion, lexer → tokens, parser → AST, semantic checks, lowering to LLVM IR, target-specific instruction selection, scheduling and graph-color register allocation, and assembler output into an ELF object file with relocations. Demonstrates C++ details: vtable and name-mangling layout, global constructors via _start and atexit, and a concrete micro-optimization that replaces a 5-byte immediate move with a 2-byte XOR to save millions of bytes across real programs.

AI-written summary · about

  1. 0:00Introduction to compiler
  2. 2:05The preprocessor stage
  3. 5:18Compiler front and back end
  4. 6:43Assembler and ELF format
  5. 10:55The linking process
  6. 12:20Lexical analysis
  7. 17:51Parsing and syntax trees
  8. 25:17Semantic analysis
  9. 27:28Intermediate representation
  10. 31:56Optimization techniques
  11. 34:10Code generation
  12. 38:49Register allocation
  13. 41:42Target specific optimizations
  14. 44:12Final assembly output
  15. 47:25Linking the final executable
  16. 49:29C++ specific complexities
  17. 53:42Conclusion and Q&A
~/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.