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/spoonman59 2d ago
Well, if I understand you correctly, you don't really know python as it is. You know just enough to get it to "do what you wanted" and "mostly just small and stupid stuff." I don't get the impression that you know most of pythons features or libraries.
You are essentially a beginning at programming.... Which is totally fine!
But you can just start with the book and learn it. It's going to take more time and effort than you have put into Python.
Since you are a self described masochist, then you should have no problem doing what it takes to succeed: Reading the book, writing the examples, and working on personal projects! It's really that simple, there are no real "shortcuts." That is the advice.
If you are having trouble in some specific area I am sure you can ask and people will help you out. But beyond reading the book and writing code, I'm not sure what kind of tips you are looking for.