3 ms·
> Agreed. Tokyo is the only reason, I think, anybody is able to use Rust for this stuff. A lot of problems related to Tokyo can be avoided if you think your co
by nicce 2y ago
> Agreed. Tokyo is the only reason, I think, anybody is able to use Rust for this stuff.
A lot of problems related to Tokyo can be avoided if you think your code as structured concurrency and avoid using Tokio::spawn. However, too often this is not possible.
- hyperbrainer 2y agoI don't have too much experience with async, but I have noticed a similar pattern. Maybe you are right.
- written-beyond 2y agoI haven't, yet, run into building rust apps that require highly complex async implementations with lifetimes etc. however excluding those situations I've found it very straightforward and easy to use. I've built some applications with a lot of moving parts, mpsc has always been a life saver.