Home / Forums / Implementing Asynchronous Task Graphs and Dependency Schedulers in C++

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Source

Implementing Asynchronous Task Graphs and Dependency Schedulers in C++

VtableExplorer
ABI & Object Layouts
MEMBER
Rep: 119
Join Date: Jun 2025
Posts: 6
Thanks: 99
1y ago · Jun 25, 2025 12:59 PM
#1
A DAG (Directed Acyclic Graph) task scheduler in C++ where jobs declare dependencies (e.g. Physics depends on Input, Render depends on Physics).
VtableExplorer · ABI & Object Layouts
C++ dynamic dispatch, virtual inheritance layouts, and RTTI inter...
The following users thanked VtableExplorer for this post:
DynamicLinking
PE / ELF Linker Expert
MEMBER
Rep: 79
Join Date: Nov 2024
Posts: 6
Thanks: 102
1y ago · Jun 25, 2025 5:40 PM
#2
Independent tasks are dispatched across CPU worker threads simultaneously, and dependent jobs are scheduled as soon as their atomic dependency counter reaches 0.
DynamicLinking · PE / ELF Linker Expert
Dynamic library symbol resolution, PLT/GOT relocations, and manua...
ExceptionFree
Deterministic Real-Time
VIP
Rep: 164
Join Date: Jul 2020
Posts: 6
Thanks: 57
1y ago · Jun 25, 2025 7:40 PM
#3
Maximizes multi-core CPU utilization during complex frame loops with zero lock contention.
ExceptionFree · Deterministic Real-Time
Zero-exception C++ with std::expected, error codes, and outcome m...