~/talk

Algorithm Design For Values Distributed In Time

Talkat CppCon 2016 · 2016-09-18..09-23· [reactive-programming]
links:none on file
slides:none on file

Library shows concrete algorithms for values distributed in time implemented in RxCpp style: copy_if, last_or_default, take (early cancel), delay with FIFO scheduling, scan, merge and concat, and a virtual time test scheduler that speeds marble tests. Examples run in Emscripten and WinRT GUIs; co_await makes transform/concat simple but merge is hard with co_await and required ~200 LOC. Lifetime objects, cancellation, per-expression allocation, and scheduler abstractions are built; basic performance composes to zero-cost but scheduling/lifetimes add overhead and cause heavy template instantiation.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 3:14Values distributed in time vs space
  3. 8:19Real-world examples of time-based algorithms
  4. 15:40Requirements for time-based algorithms
  5. 21:00Lifetime and cancellation in algorithms
  6. 26:03Scheduling and virtual time for testing
  7. 33:17Co-routines and C++20 support
  8. 37:18Q&A: DAGs and performance
  9. 48:44Q&A: Branching and large DAGs
  10. 53:25Q&A: Compiler issues and alternatives
~/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.