~/talk

Executors for C++ - A Long Story ...

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

Argument that executors become C++’s base building block for async work and yet the interface is still unsettled. Shows why std::async can block on future destructor so no concurrency, compares concrete implementations: thread per task, thread pool, serial, inline and loop executors, and demonstrates a real time priority executor built on a thread per task execution context. Surveys three proposals: Asio style with post/dispatch/defer and continuation tokens, a Google template concept that uses spawn vs std::function to avoid virtual call overhead, and an NVIDIA traits approach for bulk futures and parallel algorithms.

AI-written summary · about

  1. 0:00Intro
  2. 0:42Motivation: async
  3. 3:00Async Problem
  4. 4:35Motivation: Pipelines
  5. 5:56Executor Requirements
  6. 6:20Original Executor Interface
  7. 7:21Default Executor
  8. 7:36Concrete Executors
  9. 11:08Mission Accomplished
  10. 11:46Abstract Base Class
  11. 15:34Data Concentrator
  12. 17:28ASIO
  13. 19:46Executors and Async Ops
  14. 21:27Customization Points
  15. 27:51Executors and Schedulers, R5
  16. 29:51Executor Traits
  17. 35:24Proposal Status
  18. 39:19Layers
  19. 44:38Coroutines
  20. 46:04Summary
  21. 50:51Questions
  22. 52:48Outlook
~/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.