~/talk

[filtered] Asynchronous C++ Programming

Talkat Meeting C++ 2019 · 2019-11-14..11-16· [rust]
links:none on file
slides:none on file

Covers concrete primitives and tradeoffs: uses PPL (Parallel Patterns Library) and std::packaged_task / std::future to show how promises, futures, continuations and task unwrapping actually chain and propagate exceptions; demonstrates cancellation via token sources and callbacks; compares coroutine-based code to manual continuation-passing and shows generators and coroutine handles; claims a proposed lightweight task implementation cuts overhead and can be roughly 3× faster than heavy std-style tasks in microbenchmarks.

AI-written summary · about

  1. 0:00Intro
  2. 0:12What's ahead
  3. 1:07Metaphor
  4. 3:58std::packaged_task
  5. 5:51Idiom: asynchronous value update
  6. 7:52Parallel Patterns Library
  7. 10:28PPL concurrency: :task 101
  8. 11:36Task unwrapping
  9. 14:15Continuations
  10. 15:46Exception handling
  11. 19:27Cancellation callback
  12. 23:13Idiom: do while
  13. 27:36Idiom: continuation chaining
  14. 31:03Why do I need generators?
  15. 32:39What are coroutines?
  16. 34:12What happens "behind the curtains"
  17. 42:20Benchmark: concurrency: :task
  18. 42:46Benchmark: lightweight Task
  19. 49:09Asynchronous C++ programming
~/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.