~/talk

Continuable asynchronous programming with allocation aware futures

Talkat Meeting C++ 2018 · 2018-11-15..11-17· [rust]
links:none on file
slides:none on file

Claims a header only C++14 library called continuable that implements allocation aware futures with fewer heap allocations (examples show six allocations for chained std::future vs two or none for continuable). Uses a custom type erasure (author's function2), supports lazy evaluation, heir-value-only then semantics, executors, exception routing and compositors like when_all/when_any/when_sequential, interoperates with coroutines, and provides benchmarks and slide-backed code so the implementation and performance tradeoffs are verifiable.

AI-written summary · about

  1. 0:00About me
  2. 0:33Outline
  3. 1:17Future Pattern
  4. 2:01Stand future
  5. 2:31Future then method
  6. 3:57Naive approach
  7. 4:41Future implementations
  8. 5:01Overhead
  9. 5:30Nonshared futures
  10. 6:30Asynchronous evaluations
  11. 8:50Finegrained exception control
  12. 9:05Exceptional future
  13. 10:25Availability
  14. 11:07Design goals
  15. 13:43Continuable
  16. 14:08Promises
  17. 15:19HTTP Requests
  18. 16:01Accepting partial arguments
  19. 16:46How does this work
  20. 17:50Metaprogramming
  21. 20:20Following
  22. 21:27Wrapping
  23. 22:05Exception handling
  24. 24:47Exception routing
  25. 25:08Continuation base
  26. 25:55Denis method
  27. 26:44Ownership
  28. 28:43Code
  29. 31:24Eraser
  30. 33:48Executors
  31. 35:18Propagation
  32. 36:46Design rules
  33. 37:49Connections
  34. 39:06Primitives
  35. 43:31Example
  36. 50:26Continuation
  37. 52:26Questions
  38. 53:46Optionals
  39. 56:41Cancellation mechanisms
  40. 58:43Dynamic allocation
~/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.