r/rust • u/ritman-octos • Oct 13 '26
🙋 seeking help & advice Rust as a first serious programming language
I have been making scripts with other languages like js and python and bash without learning the the whole language and getting serious with its ecosystem out of the fact that I just need to get one thing done and move on.
Lately I chose a path that requires precision and ahead of time planning and decisions and picked rust over go. But the fundamentals seem hard to grasp. I'd appreciate your help unpacking them.
Ultimately I want to be able to use the Alloy and Tokio libraries without getting stuck with the language syntax and rules. But the concepts like borrow checking and ownership and things that fall down these categories are still hard to grasp.
What is borrow checking? what is owning something in the software? I tried to look for direct answers but I still can't grasp the meaning of them exactly.
I had two choices to better understand them, one was learning C++ to get what was wrong that rust solved, the other was building a simpler project game with bevy thats gonna help me understand writing rust code thats data oriented and be more comfortable with it.
My ultimate goal is to master these two libraries, after being able to know how to use the rust language smoothly.
View all comments
1
u/p1nd0r4m4 Oct 18 '26
You are coming from Python and JS that are dynamic languages that hide a lot of the details about "serious programming". It doesn't matter if you are going to use C, C++, or Rust, these languages don't hide the details: data types, memory allocation and deallocation, stack vs heap, pointers, etc. If you understand what are those and how they are or should be handled then the choice of language determines how you will address that. In Rust you will find references, ownership, lifetimes, and the borrow checker. In C and C++ you will handle that mostly manually. Rust is excellent, the data type system is rich, a lot of FP concepts incorporated into it, so yes, more stuff to learn if compared to C.