3 ms·
I think the intention is that userspace schedulers (event loops) will remain outside of core, but core will potentially contain a task interface and know how to
by lmm 9y ago
I think the intention is that userspace schedulers (event loops) will remain outside of core, but core will potentially contain a task interface and know how to form tasks (but not necessarily offer any way to execute them asynchronously) so that there can be better integration of ownership/borrow checking with async tasks? But I haven't been following that closely.
- steveklabnik 9y agoYes, this is basically correct. There's an open RFC to add futures to libcore; https://github.com/rust-lang/rfcs/pull/2395 https://github.com/rust-lang/rfcs/pull/2395 But we have no plans on pulling anything more than that in. > so that there can be better integration of ownership/borrow checking with async tasks? It's more about conventions and stability; traits are a great thing to put in the stdlib so the entire ecosystem can use them as an interface.