~/talk

Value Semantics: Safety, Independence, Projection, & Future of Programming

Talkat CppCon 2022 · 2022-09-11..09-16· [rust]
links:none on file
slides:none on file

Argues that value semantics = regularity + independence, not just a slogan, and shows concretely how reference semantics causes lifetime errors, race conditions, spooky action at a distance, and an unspecifiable example that prints 12 not 9. Demonstrates tools and patterns: pass-by-value plus move, functional-update style mutation, identity integers instead of raw pointers, adjacency-list graphs, and language features like in and inout (law of exclusivity). Presents the Val language project as a working direction and shows the techniques are practical in C++ and Swift contexts.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Problem
  3. 1:32Reference semantics
  4. 2:13Engineering cost
  5. 2:49Implicit sharing
  6. 4:12Object graph
  7. 5:09Design by contract
  8. 7:36Race conditions
  9. 8:53Example
  10. 12:32Safety
  11. 18:09Immutability
  12. 20:07Local Reasoning
  13. 21:59Documentation
  14. 24:18Value Semantics
  15. 27:16References
  16. 28:49Value Types
  17. 30:29Value Semantic Problems
  18. 32:06C Value Semantics
  19. 34:14InPlace Independence
  20. 36:03Const Reference
  21. 37:33InOutIn
  22. 38:30virtuous cycle
  23. 39:13how to achieve value semantics
  24. 41:44whole part relationships
  25. 42:12Extrinsic relationships
  26. 45:08Object graphs
  27. 48:00Creating a new type
  28. 50:00Summary
  29. 52:30Challenge
  30. 53:30Questions
~/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.