~/talk

Locknote: Local Reasoning in C++

Talkat NDC TechTown 2024 · 2024-09-09..09-12· [testing]
links:none on file
slides:none on file

Argues that local reasoning—proving a function or class correct from its API alone—scales software reliability by enforcing precise preconditions, value-semantics copies, and explicit projection rules; shows C++ pitfalls like passing shared_ptrs instead of references, aliasing bugs in increment/erase examples, and lifetime/self-initialization surprises; explores Hyo-inspired argument qualifiers, the law of exclusivity for mutation, and projection invalidation rules; demonstrates chaotic failure with a chessboard and the three‑body problem and proposes monotonic/CRDT patterns (plus a coat‑check numbering trick) as coordination‑free solutions.

AI-written summary · about

  1. 0:00Introduction and context
  2. 5:23Why software projects fail
  3. 9:30Fundamentals of local reasoning
  4. 13:54Managing function arguments
  5. 21:09The law of exclusivity
  6. 29:07Projections and validity
  7. 35:18Designing robust objects
  8. 45:20Extrinsic relationships
  9. 54:46Complexity and chaos
  10. 57:32Structural strategies
~/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.