137
How to learn Rust? (lemmy.world)
submitted 3 weeks ago* (last edited 3 weeks ago) by MoonlightFox@lemmy.world to c/programming@programming.dev

I want to learn Rust. There are so many resources available and I am unsure which one to go for, and if there are any tips on getting started?

I am a software developer by trade

Edit: Thanks for all the great replies!

you are viewing a single comment's thread
view the rest of the comments
[-] tiredofsametab@fedia.io 8 points 3 weeks ago

I agree with the others who say to start with The Book -- https://doc.rust-lang.org/book/

From there, start trying to create small things that you might want or need to do (parsing JSON is something that I needed to do and I started there).

From there, you will learn to fight the borrow checker and start to feel how rust is working. This will be annoying at first, but get better over time (at least in older versions of Rust; I haven't used it in a while so it may be different now).

[-] nephs@lemmygrad.ml 1 points 3 weeks ago

Read the official rust book until you feel like want to experiment with something, then go to advent of code and try something, anything out.

Then start investigating why it doesn't quite work. And I guess gpt for suggestions and random questions isn't a bad idea.

load more comments (3 replies)
this post was submitted on 26 Aug 2024
137 points (97.9% liked)

Programming

17025 readers
79 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS