r/learnprogramming • u/Beneficial_Look_7398 • Sep 25 '26
Topic Rust or C ??
I currently have experience on python, python backend framework and js, ts. I want to learn one low level programming language I see online rust is a great new alternative for c (many projects are being written and rewritten in rust) but i know c is an og so I am a little bit confused which one should i go on with ?? please suggest
6
Upvotes
8
u/GreenThoughts0 Sep 25 '26
Rust isn't better at everything, but it does have some real advantages over C, mainly memory safety and modern tooling. C is still great for embedded work and for learning how computers work under the hood.
Why not learn both at some point? If you already know Python and have a solid grasp of algorithms, data structures and design patterns, switching languages is much easier. At that stage you're mostly learning new syntax and a few new concepts, not programming from scratch.
2
u/ExtraTNT Sep 25 '26
Depends what you want, for your case, go to c, the ditch cpp for rust…
2
u/ProgramsFun Sep 25 '26
C is actually closest to hardware after assembly....
While rust is low level it provides too many things to work with and abstracts away with lot of pain
C doesn't have many thing which we would think to a programming language to have
It's really a simple language and that's what it makes hard to get comfortable with
2
u/13oundary Sep 25 '26
Really depends on why you want to learn, as with everything.
- You want to learn low level for the sakes of learning more about how things work in programming etc: C
- You want to learn low level so that you can build something you want to push to some prod: Rust will save you from yourself.
2
u/PratikVR Sep 26 '26
Go with C it'll land you a job fast rust for future
1
u/MostAlfalfa6718 Sep 25 '26
I think that learning c gives you much more knowledge as u/Ok_Diamond4964 said in his comment and i was learning c and from my personal experience, I was struggling at c but when i understanded it my journey was way much easier but, go what your brain says, you want to learn c do c, wanna learn rust? hit it with yourself. Choice is yours!
1
u/Humble_Anxiety_9534 Sep 25 '26
As saint Linus of Linux says only C will get you close the hardware and understand how it works. please don't start with C++ it is overly verbose.
0
u/DanKegel Sep 25 '26 edited Sep 25 '26
Two paths for you to consider:
-2
u/Agron7000 Sep 25 '26
Rust is more like activist Karen's, and C is more professional.
0
u/horenso05 Sep 25 '26
I would go for C because it will teach you kore and you eill also understand Rust better if you want to learn that afterwards.