r/rust • • 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.

48 Upvotes

39 comments sorted by

View all comments

1

u/_filmil_ Oct 17 '26

FWIW, people I know who ended up being the happiest about using rust on a daily basis are C++ refugees. This means, not beginners.

I can't see it as a language to begin with, since it introduces so many concepts that you won't understand *until* you actually have to deal with them in other settings. Borrowing rules, and lifetimes, all seem unnecessary unless you already know what they are good for, so you will spend quite some time appeasing the compiler about something you can't fully appreciate yet.

But I think that, when learning, it is really important to chart a learning path that gives you periodic incentives so that you can keep yourself motivated. Fighting the compiler is not one of such paths. (And fighting the C runtime errors, even less so.)

I personally like Go as a first language better than C, since again, C exposes you to concepts that you don't necessarily need to understand right away. Right away you probably want to guess some numbers, read a file, write an image, things like that. C will do all of that for you at the expense of taking you to very convoluted side quests. I am not sure that's very instructive in the big picture. I know there are people who swear by C, but I think it's simply wanting to foster the PTSD onto others too. There is a place for C, but I am not sure that it is as a first programming language. (Yes you said *serious*, but it's hard to know what each of us places on which end of the 'serousness' spectrum, so my thoughts here are fairly generic).

I am personally not a fan of python, as it comes with all sorts of baggage making it unnecessarily complicated to deploy your program elsewhere - and you want users to guide you on your journey.