~/talk

Value Oriented Programming Part V - Return of the Values

Talkat C++Now 2024 · 2024-04-29..05-03· [software-architecture]
slides:none on file

Argues for making types behave like values to reduce entanglement and accidental sharing, shows concrete fixes: a camera class trimmed of transient fields, a graph implemented as an adjacency matrix stored as bitset-backed vector with a maintained dimension invariant and a separate graph‑coloring solver (coloring is NP‑hard so solver is heuristic), a projector mapping pipeline that returns thousands of correspondences (move‑returned vectors instead of mutating members), and advocates separating calculating from doing plus move semantics to keep code local, testable and often faster (several O(n^2) to O(n) tweaks).

AI-written summary · about

  1. 0:00Introduction
  2. 2:23Objects and entanglement
  3. 6:54The problem with classes
  4. 14:03The dangers of references
  5. 20:52Ship of Theseus and identity
  6. 24:58Managing relationships
  7. 31:38Defining equality
  8. 37:32Intrinsic vs extrinsic state
  9. 43:50Designing for minimal change
  10. 50:17Invariants and basis functions
  11. 57:24Calculating vs doing
  12. 1:09:49Value-oriented programming
  13. 1:14:50Q&A and conclusion
~/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.