rust-lang / rfcs

RFCs for changes to Rust
https://rust-lang.github.io/rfcs/
Apache License 2.0
5.97k stars 1.57k forks source link

async runtime into std #2916

Open uvd opened 4 years ago

uvd commented 4 years ago

terminated async runtime ecosystem split

jhpratt commented 4 years ago

Please review the RFC process.

jonas-schievink commented 4 years ago

It likely that a simple single-threaded executor will be a added to libstd at some point, but almost all production uses of async/await will still want to use their own executor tailored to the specific application's needs.

What causes the ecosystem split is not having multiple executors, but multiple reactors, so putting work into how to provide a generic reactor in libstd, or how to enable interop between them would be more useful for solving this problem.

npuichigo commented 3 years ago

Will rust refer to c++'s recent proposal of unified executor target c++23?