3 ms·
The first save is from a failure of Rust's own making: async Rust. It's an awful footgun of a concept that is made vaguely bearable by the rest of the type sys
by loeg 1y ago
The first save is from a failure of Rust's own making: async Rust. It's an awful footgun of a concept that is made vaguely bearable by the rest of the type system.
- love2read 1y ago(but is still one of the most capable languages for async programming)
- loeg 1y agoMaybe. I think async as a concept is kind of bad in general, but if you want it, GC makes it more ergonomic.
- IshKebab 1y agoI think one of the most useful places for async is embedded - Embassy is amazing & you can't use GC there. Rust async almost seems like it was designed more for that than for the high level web stuff that lots of people use it for. They definitely could have made it more ergonomic though. Pin is super confusing and there are a disappointing number of footguns, e.g. it's very easy to mess up loop/select and that's super common.