r/rust • • 2d ago

Which language would be best to learn after python?

Hello Rust community, I am currently learning python in order to familiar with how programming works. I would like to do programming for system and open source software (game dev is also a fine route). I figured I could just learn c# which I’ve heard is relatively easy if I ever wanted to do game development, but I am more so torn between C, C++, and Rust. C would be good for its wide use in open source projects and has historical significance. C++ would be good for if I wanted to become a more advanced game developer, and I personally just like the philosophy of Rust, and it is greatly increasing in popularity (unfortunately due to AI). I would like to get the thoughts of more experienced programmers, so I can get a roadmap figured out. Thanks!

0 Upvotes

9 comments sorted by

5

u/Beginning-Fruit-1397 2d ago

Why would you care about historical significance? Are you an historian or a dev lmao. More seriously my first language was python and then rust. Contrary to popular belief it's not that hard to learn and surprisingly enough there's more in common between python and rust than you might think

0

u/Toasssssst 2d ago

Yeah honestly idk why I said something about historical significance. I sort of rather ment that it’s been around so long that a ton of stuff uses it. Ill wait for a few more replies, but i’m mostly getting pointed to rust.

1

u/LerkinAround 2d ago

Rust is fine to learn after Python. I went Javascript/Typescript -> Python (surface level) -> Rust. I think learning Typescript also definitely helped me pick up the type system in Rust much faster than if I transitioned straight from JS or python.

1

u/Toasssssst 2d ago

Interesting, thanks for the reply

2

u/Drive_Free 2d ago edited 2d ago

If you're headed into system programming with no prior exposure, I suggest starting with a bit of C.

The C calling conventions still binds a lot of the software stack together and discovering some of the traps in the language will let you appreciate the design choices of modern C++, Rust and the newer system languages.

2

u/dnew 2d ago

Personally, I'd say learn enough C to understand the ideas. If you can do a 100-line C program, that's probably enough to understand C. If nothing else, read the K&R C book, just so you have the background that underlies all kinds of other curly-brace languages.

Then Rust.

1

u/DavidXkL 1d ago

Either C or C++

At least until you understand memory management

1

u/yibuma 1d ago

I’d stick with Python for now and use it to build something you actually want. If you’re interested in systems programming, I’d pick up C next. Working with pointers and managing memory yourself gives you a good feel for what’s happening under the hood.

I’d give Rust a go once you’re comfortable building things in one language. A lot of Rust’s design makes more sense when you’ve run into the problems it’s trying to solve. Once you’ve had to ask a teammate “wait, does my code free this or does yours?”, it’s easier to see why Rust takes ownership so seriously.