~/talk

The Definitive Guide to Functional Programming in Cpp

Talkat ACCU 2025 · 2025-04-01..04-04· [functional-programming]
links:none on file
slides:none on file

C++ workflows become declarative pipelines using std::ranges views (transform, filter, chunk_by, join) to avoid eager intermediate containers and enable lazy one-element-at-a-time processing, with cartesian_product and zip for combining ranges and iota or generators with co_yield for infinite sequences like Fibonacci. Error and control flow use std::optional / std::expected patterns (transform, and_then, transform_error, or_else) and the async layer uses senders/receivers plus sync_wait. Claims: lazy pipelines reduce allocations, swapping to a parallel execution policy (C++26) parallelizes searches, and generators keep Fibonacci lazy and efficient.

AI-written summary · about

  1. 0:00Functional programming intro
  2. 6:47Composing algorithms in C++
  3. 33:40Functions with optional/expected
  4. 59:51IO actions in FP
  5. 1:07:13Monads and composition
~/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.