Case study: Rust Async on Top of Fibers(Bringing 2 concurrency patterns together)
summary
Builds a custom Rust async runtime that runs async functions on top of Tarantool fibers, not Tokio, by wrapping the C fiber API and adding futures, wake/notify, channels and timeouts. Shows concrete primitives: wake vtable, nonblocking TCP read/write via file-descriptor events, and a proof-of-concept select that needed redesign to await multiple events. Prototype runs and handles network clients; it works but costs extra layers and tricky context hacks around mutable context fields.
AI-written summary · about
