~/talk

“Value Semantics: It ain't about the syntax!, Part II"

Talkat CppCon 2015 · 2015-09-21..09-25· [software-architecture]
slides:none on file

Argument: value semantics hinge on salient attributes and an Essential Property of Value: if two objects have the same value, performing the same mutating operation preserves that equality. Concrete conclusions: ordered-set bit flags, rational canonicalization versus overflow, and graph isomorphism make equality expensive or meaningless; regular-expression equality is PSPACE-hard so omit operator== or provide a warned utility; priority-queue equality requires identical linear heap order (constructive "water-and-rock" proof shows necessity). Prefer explicit named utilities when equality is costly.

AI-written summary · about

  1. 0:00Introduction and recap
  2. 6:44Designing value types
  3. 22:19Salient attributes and equality
  4. 25:09Regular expressions as values
  5. 41:16Priority queues and value semantics
  6. 1:03:01Conclusion and key takeaways
~/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.