Async rust is very messy and a pretty big issue atm. The tooling on the IDE side is subpar compared to Go.
Async rust is very messy and a pretty big issue atm. The tooling on the IDE side is subpar compared to Go.
To use? Eh - I just turn on async_std with the Tokio flag and write go-like code with async tasks. No issues thus far.
There are some pain points with cancellation in Rust. Dropping a future cancels it, but that requires ownership over the future, and may cause unexpected behavior due to the nature of futures state machines. This, along with many other issues, is being discussed by the async working group: https://github.com/rust-lang/wg-async-foundations/issues/65. If you have specific suggestions, or a problem that you faced, please open an issue! It is really appreciated - async rust's problems cannot be solved without community feedback and engagement.
It's not like JavaScript or Go where everything is just built into the language afaik.
Personally, I’m looking forward to the next few years when more and more companies reveal what patterns they use with Rust development. I think Rust is missing the kind of boost that Rails gave Ruby, for example, or that TypeScript and React gave Node/SSR. Or that Pandas gave Python.
1. https://doc.rust-lang.org/cargo/reference/specifying-depende...
2. https://doc.rust-lang.org/cargo/reference/features.html#depe...