#beginner rust

29 messages · Page 1 of 1 (latest)

wicked steppe
#

I'm a beginner in rust and was wondering if anybody new some free/youtube tutorials where they build rust projects as a way to learn the language.

vague island
#

+1

rapid iris
#

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.

wicked steppe
rapid iris
#

Completing rustlings is up to you. Personally, I didn't find it very useful, but I know it is for some people.

wicked steppe
#

its just i started watching his first crust of rust video and it just seemed too advanced in my current state

rapid iris
#

That's okay. Have you tried reading The Book yet?

chilly bough
#

I'd recommend the book, it's how i learnt

wicked steppe
#

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

rapid iris
#

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.

hearty bane
#

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

rapid iris
#

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.

hearty bane
#

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
wicked steppe
wicked steppe
#

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

trim wraith
#

Since they are all interconnected

stark plume
#

ah ok... I am in a similar situation and am so pleased to of found this server/forum

rapid iris
stark plume
#

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