Skip to content

Explanation

简体中文 · Documentation

Why PACE is built the way it is. These pages explain design and trade-offs; for how to use an API see the reference, and for step-by-step learning the tutorial.

Page Explains
Architecture The modules and their layers, reactors and readiness backends, tasks, thread affinity and shutdown
Execution model Where code runs: contexts, the four ways to run them, placing work, cooperative scheduling, stopping
Ownership and lifetimes Who owns what: lazy tasks, coroutine frames, lambdas, sockets, results and shared state
API design Why the API has direct calls, one-line entry points and explicit forms side by side