~/talk

Functional C++ for Fun & Profit

Talkat NDC Oslo 2017 · 2017-06-14..06-16· [c-and-cpp]
slides:none on file

Shows concrete techniques for writing expression-oriented, mostly-immutable C++ using C++11/17 features: replace statements with ternary or immediately-invoked lambdas, use a Builder phase to produce immutable domain objects, implement a string/string_builder pair (with string_view-like alternatives) to regain safe reference-counted sharing, and build persistent structures — a red‑black persistent set with ~10% insert overhead and a persistent HAMT that reduces depth from ~24 to ~5 for 15M items and approaches hash‑map speed; also supplies a value_or helper and pipe-style optional composition.

AI-written summary · about

  1. 0:00Introduction to functional C++
  2. 2:13Defining functional programming
  3. 5:32From statements to expressions
  4. 8:31Achieving expression orientation
  5. 12:21Functional approach to loops
  6. 16:52The builder pattern
  7. 22:53Fast and safe string handling
  8. 28:18Persistent data structures
  9. 33:52Red-black trees and persistence
  10. 44:57Hash array mapped trees
  11. 51:00Monads and functional composition
  12. 1:01:25Summary and conclusion
~/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.