~/talk

“Concurrency, Parallelism and Coroutines”

Talkat CppCon 2017 · 2017-09-24..09-29· [concurrency]
slides:none on file

C++17 adds parallel overloads for ~100 algorithms via execution policies (seq, par, par_unseq) so algorithms like for_each, transform_reduce and sort can run across threads or vector units; reduce replaces order-dependent accumulate and parallel exceptions cause termination rather than aggregating many throws. The Coroutines TS introduces stackless coroutines with co_await/co_yield/co_return and customizable promise/awaitable types to suspend and resume without OS threads. The Concurrency TS adds futures with continuations (.then) and when_any/when_all, shared_futures, latches/barriers and atomic smart pointers; executor proposal P433R2 aims to tie execution policies, continuations and coroutines together but no single implementation ships the whole stack yet.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 0:46C++17 parallelism support
  3. 12:28Coroutines fundamentals
  4. 23:11Concurrency TS futures
  5. 37:34Futures with coroutines
  6. 44:08Executors proposal overview
  7. 54:05Implementation landscape
  8. 1:04:31Q&A session
~/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.