94 ms·
The standard library currently only contains what is necessary to define _what_ a Future is. It contains no tools for actually executing them, and this is the r
by aliceryhl 6y ago
The standard library currently only contains what is necessary to define _what_ a Future is. It contains no tools for actually executing them, and this is the role of Tokio.
- cmckn 6y agoVery cool, so I can choose my own impl. Does Tokio have a true competitor today? From my cursory look at some projects, Tokio shows up everywhere.
- aliceryhl 6y agoThere are some other executors too such as async-std, smol and bastion, but Tokio is the one with the largest ecosystem.
- Ralith 6y agoThere's even been experiments with binding futures to glib or various GUI event loops!
- aliceryhl 6y agoI have also heard some talk on building executors for embedded devices where you can't allocate memory on the heap.
- steveklabnik 6y agoYes, this was a big constraint on the design of the overall system; there's been a couple that have popped up.