13

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?

you are viewing a single comment's thread
view the rest of the comments
[-] KiranWells@pawb.social 4 points 1 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.

[-] howarddo@programming.dev 1 points 1 year ago

Seems interesting, thanks!

this post was submitted on 19 Jun 2023
13 points (100.0% liked)

Rust

5739 readers
86 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS