~/talk

(Ab)using Compiler Tools

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

Two practical binary tools are demonstrated: bloaty McBloatface inspects ELF/Mach-O files to attribute disk vs VM size to sections and symbols, shows how debug, BSS and data move, and offers a diff mode to see exactly what changed; BOLT rewrites ELF code layout using perf profiles and relocation info, performs identical-code folding (about 3% size drop on one service), basic-block and function reordering, and other binary-only optimizations, yielding about an 8% speedup on a large Facebook service even on top of PGO/LTO.

AI-written summary · about

  1. 0:00Intro
  2. 1:19Blowing mcboatface
  3. 2:23File sizes
  4. 5:10Segments
  5. 6:13List Segments
  6. 7:25Track Changes
  7. 8:04Diff Mode
  8. 8:56Symbol Tables
  9. 10:55Bolt
  10. 11:55Bolt Demonstration
  11. 13:21Profile Guided Optimization
  12. 15:00Advantages
  13. 17:00Optimization Pipeline
  14. 19:53Summary
  15. 20:37Questions
~/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.