~/talk

Spooky Action at a Distance

Talkat CppCon 2021 · on Tuesday, 2021-10-26· at 10:30· online· [frontend-architecture]
slides:none on file

Compares concrete Observer implementations used in a real C++ codebase and measures tradeoffs: a simple vector-of-callbacks versus indexed registries and signal libraries, costs of small-object optimization and local buffering, and the performance and memory numbers when thousands of tiny widgets register. Shows failure modes like remove-during-notify bug and duplicate subscriptions, describes designs to enforce ordering, single-vs-multiple registration, and registration priority groups, and gives cleanup and lifetime strategies that proved practical in production.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00What is spooky action
  3. 4:13Examples and applications
  4. 10:06Design patterns
  5. 17:05Observer pattern
  6. 22:07Implementation challenges
  7. 30:09Notification prioritization
  8. 36:10Side effects and risks
  9. 43:20Robust solutions
  10. 51:02Optimizing small objects
  11. 55:29Final conclusions
~/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.