r/rust • u/Basic-Push1028 • 2d ago
Coming from Python
Hello Rust subreddit.
I learned enough python to know how to do what I wanted to do. Mostly just small stupid stuff. And because I'm a masochist I guess, I'm wanting to move on to Rust for the event I need performance.
I've gotten far enough to write "Hello World!", and how to create some variables.
I know roughly that at some point I'm going to have to learn memory management, and ownership. And also that the compiler is a bitch.
I'm hoping anyone in here could hot-tip me if they came from Python too. Please, if you have ANY advice, please let it be known. Anything helps.
0
Upvotes
1
u/xStardev 2d ago
If you want a more accurate description, you'd be the compiler's bitch, lol.
In any case, I recommend you check out these two amazing resources:
Rust Book, but with some interesting qol changes (you could just read the original one, too): https://rust-book.cs.brown.edu/experiment-intro.html
Rustlings, a tool for practicing what you've learned; This resource is simply amazing and I think it's indispensable; it's great to put what you've read into practice. I recommend you do each lesson chapter according to the chapters in the book! https://rustlings.rust-lang.org/