~/talk

Functional C++

links:none on file
slides:none on file

Walks through applying functional patterns to real C++: uses std::optional (Maybe), std::expected (Error), ranges, and a custom validation/Choice monad; builds a sum/pack library that makes overload sets composable so errors and multiple-dispatch are tracked in types. Claims this was used in a Citadel Securities crypto trading stack, yields fewer runtime bugs, stronger compile-time proofs, excellent runtime performance but heavier compile times, and one production hiccup around shared_ptr. Mentions ongoing proposals (p2300, p283) and open source slides/code.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:24The role of context
  3. 7:36Monads as compositional tools
  4. 14:26Applying optional monads
  5. 20:23Refactoring with monads
  6. 34:52The expected monad
  7. 44:06Parser implementation
  8. 52:23Error handling with sums
  9. 1:06:56Composition with packs
  10. 1:25:45Advanced composition and Q&A
~/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.