#beginner rust
29 messages · Page 1 of 1 (latest)
+1
Jon Gjengset has a bunch of videos where he walks through the implementation of various crates https://www.youtube.com/playlist?list=PLqbS7AVVErFhAhQ5s9SWcvxHh4GwsIk_d.
He's got quite a few other Rust videos too, but keep in mind that his videos generally aren't for absolute beginners to the language and often tackle more intermediate or advanced topics.
Learning Rust purely from the process of writing a program, isn't something I'd recommend, as it won't really explain a lot of the core principles of the language. To start with, you may want to read the first 10 chapters of The Book https://doc.rust-lang.org/book/.
However, you can also check out https://doc.rust-lang.org/rust-by-example/ for a nice supplementary collection of example code, often combined with explanations about it.
thank you. So should i complete rustlings then move onto his series
Completing rustlings is up to you. Personally, I didn't find it very useful, but I know it is for some people.
its just i started watching his first crust of rust video and it just seemed too advanced in my current state
That's okay. Have you tried reading The Book yet?
I'd recommend the book, it's how i learnt
yh a little bit
it didn't help too much and i was trying to find the Bro Code of rust becuase he was the best
Is there a specific topic that you're stuck on or confused about? The book is essentially the de-facto learning resource for beginners. Though I understand some people don't learn best through reading text.
I just started with rust by example
it wasn't very helpful but it gets you somewhere
just lower your expectations and don't expect to be able to write a large project out of it
Yeah I always refer to it as a supplementary resource. Rust By Example isn't going to teach you all of the basics, but it can be useful to, well, give you examples.
if you are mentally prepared for a slow learning curve, rust by example gives you a slow learning curve and it's totally fine
and you only learn the very very basics from RBE that gives you the necessary grounds to try to understand other code from real world examples or from trial and error compiling your own code
my personal experience:
- started with RBE, stopped in the middle cuz I don't have patience
- tried coding something, got compiler errors, tried to fix them by following compiler suggestions
- got even more difficult compiler errors, asked for best practices on discord
- started understanding how the type system really works, the std rustdoc begin to get interesting, spent several months reading std rustdoc in my spare time (it's actually fun to read, you always learn something new!)
- more personal learning projects and reading more code
- slack off during my uni lectures and during my work hours after graduation to hang out on this discord and learn from other people's questions
i dont know i just want to know the language to an extent that i can build whatever i want
Yeah im just bracing through it slowly
Did a bit of the book: didn't feel so helpful because my patience is not great at all
Trying rustlings: working a bit
Looking for something else: where i am now
This usually means knowing most of Rust's features (minus unsafe related stuff)
Since they are all interconnected
ah ok... I am in a similar situation and am so pleased to of found this server/forum
I experienced something similar when I first started out. Personally, I made the mistake of hopping around in the book and not taking the time to actually read through each chapter. After floating around between resources for awhile, I went back to the book and took it slower. Stuff started making a lot more sense.
I got an idea based on your post Bigbass that maybe @wicked steppe you could go throught rustlings as you were saying you were and then if you are stuck read the chapter of the book needed to solve that problem