4 ms·
I wonder how it would be if Rust, like Scala came with a very basic executor? For me external crates no matter how popular, seem a no-go because of them constan
by animalnewbie 7y ago
I wonder how it would be if Rust, like Scala came with a very basic executor? For me external crates no matter how popular, seem a no-go because of them constantly changing.
- hderms 7y agoNot familiar enough with rust to say, but this is an interesting comment given I've taken Scala for granted, in a sense
- tym0 7y agoIf my memory serves right, there is one in std but it's too simple for most use cases.
- majewsky 6y agoNo. As of now, std does not contain any executors. Only the minimal machinery that the compiler needs to know about in order to translate async code into structs implementing the Future trait. I think we will see an executor in std at some point, but seeing how executor design is still an ongoing area of research, it's really good that they didn't include an executor in std prematurely.