4 ms·
Rust async/await is as bad as C++ coroutines. They lack one of the most important language counterparts: async drop/destructor.
by feverzsj 3y ago
Rust async/await is as bad as C++ coroutines. They lack one of the most important language counterparts: async drop/destructor.
- OtomotO 3y agoThat's the main gripe imo: Missing features that are not optional for certain problems where the solution would otherwise make perfect sense. I get the pragmatism to "better ship something that is 80% finished now, than wait for it to be 100% finished in some years", but with Rust's async/await it was released in 2018 and the more time passes, the more it looks like some sharp edges are here to stay.