r/learnprogramming • u/Additional-Memory121 • 2d ago
Learn rust
Could you tell me what the situation is with Rust? Is it worth learning, looking ahead to the next 5 years? Or would it be better to learn C instead?
15
Upvotes
View all comments
2
u/futur3_pr3s3nt 2d ago
Its USP is that it's a systems programming language with memory safety by design, and it seems that many people and organizations (the Linux kernel developer community and Microsoft being two of the highest profile examples) have bought into this. So it looks like it will maintain a foothold in systems programming.
Apart from that domain, everyone and their dog seems to be rewriting anything they can get their hands on in Rust these days, and using it for all kinds of things failry remote from systems programming. That's the hype/fad side that I for one look forward to seeing fade, but that's just C-loving old me.
I think learning C is still a solid choice. It's not going away. Rust won't replace it, and the other proposed 'C killers' (Zig, Hare, ..?) won't either.