~/talk

Functional C++ For Fun And Profit

Talkat ACCU 2017 · 2017-04-24..04-29· [functional-programming]
slides:none on file

Argues that C++ can adopt practical functional ideas: use C++11 lambdas and immediately-invoked lambda tricks to make expression-oriented code, prefer immutability with a companion immutable string with builder (move semantics + refcounts) for speed, and implement persistent data structures (shared nodes, atomic root swap) to simplify concurrency. Reports real-world use in financial code with benchmarks showing better string performance and roughly 10% overhead on persistent RB-tree ops, and much shallower ~3–5 hops using a hash-array mapped trie.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 5:16Expression-oriented programming
  3. 15:18Replacing loops with algorithms
  4. 16:39Immutable data with Builder pattern
  5. 27:43Immutable strings and builders
  6. 36:52Persistent data structures
  7. 51:13Optional and monads
  8. 1:01:55Summary 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.