How to start learning Rust from scratch?
Hello, colleagues! I finally decided to learn Rust, but I feel like I'm drowning in information. I have no experience in systems programming (previously wrote in Python and JS), so many concepts are difficult for me.
What I've already tried:
- Read the first chapter of The Rust Book — it's clear so far, but I started getting confused already on the topic of ownership.
- Tried to write a simple calculator, but the compiler gave a bunch of errors about borrowing. Here's an example of my code:
fn main() {\n let x = String::from("5");\n let y = &x;\n println!("{}", x); // error: x has been moved?\n println!("{}", y);\n}What I expect:
- A step-by-step plan for a beginner: where to actually start so I don't quit after a week.
- Advice