Hi guys, I’m a soydev trying to learn rust. It’s hard, especially with the references, ownership, the compiler goes crazy every time and I just throw all the references, dereference until it stops. I’m not used to it coming from JS. Do you have some resource, tips to improve on this? Thank you very much. Side note: what is your first project in rust? And what are some interesting open-source rust projects, you go to learn from/ contribute to?

  • KiranWells
    link
    41 year ago

    Learn Rust With Entirely Too Many Linked Lists is a great example of how references work (or don’t work) in more complex situations. Might seem like a lot at first, but working through writing the code yourself and seeing the compiler’s responses is a great help when learning Rust. It also doesn’t hurt to read it once and then come back and read it again later, after you try writing some more programs.