~/talk

Abstraction: The True Superpower of C++

Talkat CppNorth 2022 · 2022-07-18..07-20· [software-architecture, c-and-cpp]
slides:none on file

Defines abstraction as picking relevant behavior and hiding the rest, then walks C++ features that deliver it: classes, access control, virtual dispatch vs. static templates, lambdas, default args, and map of keys to function objects used to refactor a 115-option parser into a small dispatcher with per-command validate/commit steps. Calls out painful details (bool often 8 bits, char vs. Unicode’s ~144,000 code points) and highlights modules compile once and reuse to cut header parse/link costs.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:28Book and core guidelines
  3. 4:44Defining abstraction
  4. 5:59The art of abstraction
  5. 8:42Encapsulation mechanisms
  6. 12:56Problem and solution domains
  7. 16:06CPU abstraction
  8. 17:31Fundamental C++ types
  9. 20:19Text representation
  10. 22:58Function abstraction
  11. 26:06Class abstraction
  12. 28:43Polymorphism and design
  13. 30:26Class structure and invariants
  14. 32:09Namespaces and libraries
  15. 33:53Using directives and safety
  16. 35:48Header files and libraries
  17. 36:46C++ modules
  18. 41:45Network layer abstraction
  19. 47:55Case study: Option parsing
  20. 55:10Conclusion
~/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.