Reading up on Tokio
2 deep · digging since oct 02
- Async Rust: Where does the scheduler live?
Async Rust needs a runtime because concurrency requires a scheduler, and placing the scheduler in a crate like Tokio is a reasonable trade‑off rather than a regression.
- Green Threads from Scratch - Dzania
The author builds a minimal green‑thread runtime in Rust, detailing stack allocation with guard pages, context saving via assembly, a worker‑based M:N scheduler, and spawn/join APIs.