3 ms·
Async works great in other languages. I adore being able to get high performance out of a single thread in javascript thanks to its async IO model. Rust's prob
by josephg 4y ago
Async works great in other languages. I adore being able to get high performance out of a single thread in javascript thanks to its async IO model.
Rust's problem with async isn't that async itself is a bad idea. The problem is that rust got halfway through adding async support and then didn't finish the job.
If you have half a house, your problem isn't that houses are a bad idea. You just need a builder. (Or, a wrecking ball. Which I'd be more than happy with at this point.)
- mwcampbell 4y ago> (Or, a wrecking ball. Which I'd be more than happy with at this point.) I doubt that would be necessary or appropriate. A lot of thought, discussion, and work has already gone into the design, and I'm inclined to assume that the people involved knew what they were doing. Rust's zero-overhead approach to async is much more ambitious than the async support in other languages. More work on the interactions with other language features would certainly be useful, but I think suggesting that the existing implementation be discarded is more likely to frustrate the people who have been doing all of this hard work than to accomplish anything useful.