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!
https://doc.rust-lang.org/book/ this is a great starting point. Then when you got the basics, and fiddled around a bit, then you can start looking for more specialized books (like Rust Atomics and Locks https://marabos.nl/atomics/ )
As a wise person once told the Internet, don’t worry about picking the best one. But if you really had to pick one just start with the rust book. https://doc.rust-lang.org/book/ I would suggest to just dive in with a specific need you want to solve and instead of using your language of choice just use rust and look up stuff as you go. Hands on learning is usually the best learning. The only thing you need to “learn” is how to follow the ownership/borrowing paradigm that rust brings to the table.
I’m looking at this book now and I guess I’ll keep reading, but the early parts are quite verbose and I keep waiting to get to a description of the language. Something like “Rust for C++ programmers” might be worth a shot: https://github.com/nrc/r4cppp
There are a few different things like that for Ada. There are also a few “Rust for Haskell programmers” and I might look at a few of those.
There’s also Rust for the Polyglot Programmer which seems to be a generic version of those.
There’s also this!
!learningrustandlemmy@lemmy.ml
@sorrybookbroke@sh.itjust.works @maegul@lemmy.ml can probably explain more
Cheers for the shout out! Yea the idea of that community is to be a kind of study group.
Whenever I’ve posted a thought or idea, that’s part question part experiment part pondering, I’ve gotten great replies from others.
Also two people have been running twitch streams of running through the book. Sorrybook is nearly done I think (they’ve been going for half a year now which is quite impressive).
The community is at a point now I suspect where some of us have learnt rust well enough to spread out into projects etc, so it’d be nice to work out how we can do that together at all.
Part of my initial idea with the community was to then have a study group for working through the lemmy codebase, treating it as a helpfully relevant learning opportunity … as we’re all using it, we all probably have features we’d like to add, and the devs and users of it are all right here for feedback.
Additionally, an idea I’ve been mulling over, one which I’d be interested in feedback on … is running further “learning rust” sessions where some of us, including those of us who’ve just “learned” it, actually try to help teach it to new comers.
Having a foundation of material such as “The Book” would make a lot of sense. Where “local teachers” could contribute I think is in posting their own thoughts and perspectives on what is important to take away, what additional ideas, structures or broader connections are worth remembering, and even coming up with little exercises that “learners” could go through and then get feedback on from the “teachers”.
Cheers! Actually not sure exactly why you’re saying this (I’ll take the good vibes though) … but if you’re keen to join in in any way you are most welcome!