~/talk

Using Clang for Fun & Profit: Examples from the Chromium Project

Talkat GOTO Aarhus 2013 · 2013-09-30..10-02· [developer-experience]
links:none on file
slides:none on file

Chromium adopts Clang to build Mac binaries and to automate bug finding, style enforcement and refactorings: the team writes Clang plugins to flag missing virtual/override and autoapply fixes, uses clang format to reflow millions of lines, and runs sanitizers in CI and canary builds. AddressSanitizer reports heap overflows (with ~2x runtime overhead), ThreadSanitizer finds data races reliably, and UndefinedBehaviorSanitizer catches illegal shifts and float→int overflows.

AI-written summary · about

  1. 0:00Intro
  2. 1:27What is Chrome
  3. 2:36The Code
  4. 3:36ThirdParty Code
  5. 4:34Project Growth
  6. 5:15Clang
  7. 6:45Clang in Chromium
  8. 7:46Why use Clang
  9. 9:08Missing semicolon
  10. 9:58Using Clang
  11. 10:45GCC
  12. 11:28Type Correction
  13. 12:15Warnings
  14. 13:48Null Pointer
  15. 14:44Clang Hackability
  16. 15:29Style Checker
  17. 17:20Error
  18. 17:48Virtual method
  19. 18:27clang format
  20. 19:51clang format demo
  21. 21:23Why format
  22. 22:16AddressSanitizer
  23. 24:10Demos
  24. 26:17Sanitizer
  25. 27:21ThreadSanitizer
  26. 32:28Demo
  27. 37:03Fun Profit
  28. 39:53Dynamic Languages
~/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.