~/talk

completion T : Improving the future T with monads

Talkat CppCon 2015 · 2015-09-21..09-25· [concurrency]
links:none on file
slides:none on file

SolidFire replaces std::future with a monadic, async-only alternative called completion that removes get/wait from the hot path, uses an expected<T> for value/error flow, and stores callbacks instead of blocking threads. Implementation uses a lightweight spin mutex, intrusive reference tracking, and an on_complete fire‑and‑forget path to slash small allocations and latency. Broken promises panic on destruction, completion remains compatible with std::promise via complete/set_value, and the system runs in production with markedly lower locking and exception overhead.

AI-written summary · about

  1. 0:00Intro
  2. 0:36Who is SolidFire
  3. 3:10Future
  4. 11:06Completion
  5. 11:48Implementation
  6. 18:30Completion Promise
  7. 20:03Edge Cases
  8. 24:58Optimizations
  9. 29:51Conclusion
~/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.