Working on yet another Rust async runtime, mostly because I'm annoyed by runtimes that are all tied to globals and want to see if we can do it handles passed as function arguments
Makes sense, although I'm not sure I understood completely. Do you have examples of interfaces that leak globalness? Do you consider async-std's concept of global runtime "good" or "bad"?
-
-
So, suppose you had a server that consumed an API. Suppose that for whatever reason, you want to use async-std-based library for handling incoming connections, but a tokio-based library for handling outgoing connections.
-
My understanding is that this doesn't work well, because they have their own reactors and both want to take control of `main` and want to control when blocking (ie, waiting for OS events) actually occurs.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.