~/talk

Coroutines and C++ DSLs for Human Scale Concurrency

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

Claim: C++ stackless coroutines (available in Visual Studio 2015 and coming to clang/llvm) can be metaprogrammed into higher‑level concurrency constructs. Tools used: coroutine TS implementation, promise/await API and heavy template/macros to build a small experimental DSL called dein DSL with actor‑like flasks, message queues, protocols and selective receive. Result: working prototype that enforces protocol handlers at compile time, suffers limited debugger/tooling support, and targets very high density (design goal: billions of coroutines), but remains experimental.

AI-written summary · about

  1. 0:00Start
  2. 0:24Introduction
  3. 3:12Google Scale Concurrency
  4. 4:46Can Concurrent Programs Be Correct by Construction
  5. 5:56Race Condition
  6. 8:08Spatial Transition Diagrams
  7. 10:53Kill Safety
  8. 14:45Atomic Queues
  9. 23:04Alternate Futures
  10. 23:51The Reactive Model
  11. 25:20Lorenz Attractor
  12. 41:54Why Dsl
  13. 44:16Overview
  14. 45:41Message Queues
  15. 46:36Examples
  16. 52:43A Hierarchical State Chart
  17. 54:13Parallel Composition
  18. 57:25Exceptions
  19. 1:01:18Protocol Definition
  20. 1:05:21Hierarchical Parallel Composition
  21. 1:13:37Signals
  22. 1:18:05Debugging Support
  23. 1:26:13Design Goals
~/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.