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!

  • 5C5C5C
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    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).