~/talk

C++11/14 at Scale - What Have We Learned?

Talkat ACCU 2021 Online · 2021-03-10..03-13· [c-and-cpp, software-architecture]
slides:none on file

Eight years of C++11/14 adoption at a large company yields concrete lessons: surveys show ~83% C++11 and ~58–65% C++14 adoption in 2018–2019, and incremental parsing changes (>> now closing templates) can silently change behavior; attributes like nodiscard can make code ill-formed NDR; range-based for can trigger lifetime extension bugs when a cached vector switches from by-value to by-const-ref; decltype(auto) is frequently overused and harms readability; extended friend declarations pair well with CRTP to fix typos and encapsulation issues; testing uses ASan and benchmarks; a training-first rollout and a forthcoming book codify teaching paths.

AI-written summary · about

  1. 0:00Start
  2. 0:27Backstory
  3. 5:36The Adoption of New Standards
  4. 11:20Good Learning Resources
  5. 16:38External Template
  6. 18:57What Does It Mean To Be at Scale
  7. 20:59Style Guide
  8. 21:51What Is the Input to a Style Guide
  9. 23:51Teachability
  10. 26:01Override Keyword
  11. 27:15Compiler Flags
  12. 27:45Range Based for Loops
  13. 34:13Example High Order Functions
  14. 43:24Why Is Final Unsafe
  15. 44:55Hierarchical Reuse
  16. 55:41Long Distance Friendship
  17. 58:38Avoiding Typos
  18. 59:35Customization Points Using Type Analysis
  19. 1:00:07Crtp
  20. 1:01:29Basic Use Case
  21. 1:02:32Instance Counter
  22. 1:05:24Extended Friend Declaration
  23. 1:18:09Why Is Inum Class Conditionally Safe Only Should It Be Preferable over Enums in all Cases Where Enum Class Can Be Used
  24. 1:19:19Operator Overloads for Random Classes
~/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.