~/talk

Keynote: Functional Programming in C++

Talkat C++Online 2025 · 2025-02-26..02-28· [c-and-cpp, functional-programming]
links:none on file
slides:none on file

Shows concrete recipes: use std::ranges and views (transform, filter, join, cartesian_product, chunk_by, iota, generators) to build lazy pipelines that avoid intermediate containers and make examples like max-odd-magnitude, pair-sum, longest-increasing-subsequence and word-reversal one-liners that still perform. Demonstrates error composition with std::optional / std::expected using transform and and_then (and join to flatten), notes parallelize by switching to parallel algorithms, and sketches IO and concurrency via senders/receivers (C++26) and a C++29 transform_join/conditional-range proposal. Results run and compose cleanly.

AI-written summary · about

  1. 0:00Introduction
  2. 0:37Functional vs imperative
  3. 3:54Benefits and trade-offs
  4. 6:49Composing algorithms
  5. 16:21Advanced range composition
  6. 21:47String processing techniques
  7. 26:44Generating ranges
  8. 32:03Composing functions
  9. 38:51Handling fallible operations
  10. 44:24Composing I/O actions
  11. 48:02Multi-threading and senders
  12. 50:27Monads and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.