~/talk

How the Environment Changes the Way We Write C++ Code

Talkat CppNorth 2023 · 2023-07-17..07-19· [embedded-and-hardware]
links:none on file
slides:none on file

Argues that “good code” depends on constraints: when heap allocations are forbidden the code uses a fixed-size container (example: static_vector sized for 100 objects) plus std::variant to store mixed types, eliminating runtime new/delete. Shows how multi-level CRTP replaces virtual dispatch and how C++23’s implicit this simplifies it. Demonstrates deterministic recomputability by record component inputs (number every sensor sample, store RNG seeds) so rare bugs that occur once per month can be replayed exactly.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30Adaptation to the environment
  3. 2:18Overview
  4. 3:27Enlightenment
  5. 5:23Boundary Conditions
  6. 9:38Latency
  7. 11:38Low latent CC
  8. 12:14deterministic recomputability
  9. 15:34hypothetical runtime behavior
  10. 22:19programming without dynamic allocation
  11. 24:22programming without dynamic memory
  12. 29:59recurring template pattern
  13. 32:03multilevel crtp
  14. 34:40base class
  15. 35:22input methods
  16. 38:21another example
  17. 39:52passkey idiom
  18. 41:56C23 implementation
  19. 43:59Classical functor
~/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.