- cross-posted to:
- rust@lemmit.online
- cross-posted to:
- rust@lemmit.online
Traits now support async fn
and -> impl Trait
(with some limitations), the compiler got faster, version =
in Cargo.toml is now optional, and many small functions have been stabilized!
The way I often describe it is “Rust makes functional programming feel as intuitive as object oriented programming”.
Pedantically, Rust does offer a subset of object oriented programming paradigms so one could argue that it counts as an object oriented language, but the design patterns that work the best with the language are all coming from functional programming, all without feeling too alien to someone coming from a strictly object oriented background (… which was my own path into Rust).