~/talk

Thinking Functionally in C++

Talkat CppCon 2023 · on Monday, 2023-10-02· at 15:15· Maple 3/4/5, 6700 North Gaylord Rockies Boulevard· [rust]
links:none on file
slides:none on file

Argues for classifying code as actions, calculations and data and shows concrete C++ patterns that realize that — using ranges and views, lambdas, copy_if/transform/accumulate/reduce and call_once to turn temporaries into lazy pipelines, reduce allocations and make calculations thread‑safer. Demonstrates wrapping a C oven API with a lambda that captures a handle to give RAII via lambdas, composes filters/maps/reduces for the banana processor and birthday-card example, and emphasizes lazy evaluation and when copying versus mutating matters.

AI-written summary · about

  1. 0:00Intro
  2. 0:36Expectations
  3. 2:07Programming Paradigms
  4. 4:33Identifying Code functionally
  5. 9:11Variables
  6. 12:01Example
  7. 15:20Implementation
  8. 18:11Functions as Data
  9. 20:46Bakery Automation
  10. 21:20Existing API
  11. 23:07Lambdas
  12. 27:16Functions
  13. 33:55Lazy Evaluation
  14. 41:50Elephant in the Room
~/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.