The Most Valuable Values
summary
Argues that value semantics belong at the architectural level and demonstrates a concrete C++ implementation: a unidirectional data flow using std::variant for actions, an update reducer that returns new models, and a single mutable state that drives rendering and intent. Ships a small ncurses counter and an asynchronous store implemented as Lager with an enabled time-travel debugger exposed over a REST API, using immer::vector to keep history efficiently; shows undo/redo and a text editor handling gigabyte files and reports benchmarks/paper backing performance.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 1:00Value Semantics
- 6:05Ideas and Values
- 7:25Values of Identity
- 10:18Naming Values
- 11:25Naming Objects
- 13:27Object Fetishism
- 17:05C Code Continuum
- 19:05Other examples
- 23:35Reconstruct
- 25:03When to use values
- 27:22Valuebased architecture
- 31:49Unidirectional data flow architecture
- 33:57Example
- 35:29Design
- 38:23Frameworks
- 42:34Demo with Firefox
- 44:32Debugger
- 52:53Other topics
related talks
01h 02mObjects vs Values: Value Oriented Programming in an Object Oriented World
01h 42mValue Oriented Programming Part V - Return of the Values
58m“Value Semantics: It ain't about the syntax!, Part I"
58mOO Considered Harmful
51mKeynote: There Is No Silver Bullet to Solve All C++ Software Problems
01h 06m“Value Semantics: It ain't about the syntax!, Part II"
11mThe Value of Objects -
01h 00m“Enhanced Support for Value Semantics in C++17”
