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!

  • Comexs
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    This is coming from a guy that hasn’t learn a single line of code other then basic “Hello, World!” in c so take this with a grain of salt.

    is Rust derived from another language?

    From what I understand it Rust shares some new programming concept. Like memory safety without garbage collection, ownership, and zero-cost abstraction.

    I know some c++, would that benefit me if I want to learn Rust?

    If you know low-level memory control. Then that would give you a heads up but some of its unique features might confuse you.

    What is powerful about Rust in comparison to other languages?

    Memory Safety, Zero-cost abstraction, ownership, backwards compatibility and you can write code from embedded systems to web assembly.

    I’m currently in the process of learning Rust; only on chapter 4 of the Book but memory safety without garbage collection, backwards compatibility and the wide range of what you can write code for is the reason for why I’m trying to learn it has my first language even though its not recommended. I hope this was helpful.