~/talk

The Pains and Joys of C++ In-Process Graph Execution

Talkat Core C++ 2024 · 2024-11-26..11-28· [c-and-cpp, frontend-architecture]
slides:none on file

Shows a concrete in-process C++ task-graph runtime that registers tasks at link time, maps C++ types to compact IDs via a templated get_type_id, and exposes a task interface with run/get_future while avoiding per-task threads. Demonstrates why std::future scales poorly, how link-time registration and a global factory let the binary build the graph, and that this works for data pipelines but needs dark-magic glue and hurts composability. Mentions using Taskflow and awaiting P2300 for better composition.

AI-written summary · about

  1. 0:00Introduction and conspiracy
  2. 2:11Why graphs in C++
  3. 3:41Portrait of our client
  4. 5:50Trivial approaches and futures
  5. 9:24Production code with futures
  6. 14:05Problems with futures approach
  7. 15:30Target state for framework
  8. 17:16Gadgets for implementation
  9. 20:28Link time registration
  10. 21:57Runtime type mapping
  11. 23:21Missing parts and type safety
  12. 24:43Conclusion on approach
  13. 25:25Teaser on execution libraries
  14. 26:49Final conclusions and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.