~/talk

Back to Basics: Abstractions

Talkat Core C++ 2026 · 2026-10-20..10-21· [c-and-cpp, software-architecture]
links:none on file
slides:none on file

Walks through a concrete C++ example: a sensor that writes 16‑byte measurements to three sinks (buffer, stats, file) and shows how replacing three loops with a single write-record abstraction reduces cognitive load while preserving performance because the compiler can inline and eliminate overhead in this case (measured 0–4 ns overhead, real-call cost a few percent on his machine). Recommends three-layer contract tests (concept/compilation, shared contract tests, implementation-specific checks), warns of three common failures—leakage, overconstraint, overgeneralization—and advises using concrete types until multiple implementations or callers exist.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:06Why abstractions matter
  3. 3:58Abstraction examples in code
  4. 8:47Naming as abstraction
  5. 10:11C++ abstraction mechanisms
  6. 12:01Abstract classes vs concepts
  7. 14:55Choosing abstraction tools
  8. 15:58Why now for abstractions
  9. 17:06Contract specifications
  10. 18:34Testing abstraction contracts
  11. 20:19Runtime abstraction impact
  12. 21:44Common abstraction failures
  13. 26:02Checking existing contracts
  14. 27:26Contract validation checklist
  15. 29:13When to abstract
  16. 29:35Closing and recommendations
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.