• AVincentInSpace@pawb.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 days ago

    Nah. Rust is challenging to write because Rust is challenging to learn. There are a lot of concepts that exist in few if any other programming languages that you have to get your head around before you can write really any nontrivial Rust code.

    When I started learning Lua, I already knew Python and Java. It took me about a week to pick it up before I was writing proper coroutines. When I started learning Rust, I really struggled, for over a month – Rust is a lot – but then everything just kinda clicked, and I got it, and suddenly the borrow checker was a wind at my back instead of something I would do daily battle with.

    I am a twink, but I think that is entirely orthogonal to me being good at Rust. Anyone can pick it up. You just have to be very patient and very eager to learn.

    • alx@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      9 hours ago

      Yeah I am primarly from c++/c#/ruby (rip) background and im currently trying to make a small game in rust bit I am having hard time with it, especially the syntax. I always felt I somewhat understood the whole ptr/ref/async and immutability until i touched rust.

      I have used many languages in my experience but never did i encounter a language I find hard to remember basic stuff. I guess I just need to take some time to really learn it.

      And yeah I am not abandoning, I do see the advantages and it does skip many (albeit c++ specific) headaches.

      Also keep twink-ing, I heard its a gift for rust 🤣