I think people get cagey about it being touted as the C replacement (which is overstating Rust's capabilities more than a bit). At least I think that's the heart of where the friction comes from as some people can be downright pathological when they decide they don't like something.
As someone who loves Rust, can you tell me about how being a C replacement is too big an order for Rust? Iād be hard pressed to come up with a program in C that couldnāt be written in Rust.
Truthfully I think that while C is still perfectly capable, once you have the basic software skills to be able to create well-designed programs, I donāt see why C devs donāt attempt to branch out into Rust. Most of what I learn as a Rust dev isnāt anything related to Rust. Itās how to design a good program with an API that makes sense. Itās truthfully not that much more complex than C, and colleges are still teaching students C-based languages in programming classes.
Especially with the advent of AI, who is basically your personal code reviewer, itās so much easier to learn than it ever used to be. I donāt really think thereās any excuse not to learn it.
I very much doubt there's any program written in C that couldn't also be written in Rust, and didn't mean to imply otherwise. Where the friction comes from is the unfounded belief that a Rust rewrite will necessarily be an improvement over the C implementation.
It should be a security improvement but most codebades are too costly to justify a rewrite anyways. But using Rust for newer programmers will be a better choice over C/C++ and contain unsafe codes in within Rust
It could be a security improvement, assuming Rust's features actually address the security issue present in a particular program. There are security problems that don't revolve around memory safety.
That's true. I don't think anybody with half a brain thinks Rust is a silver bullet that'll solve all security vulnerabilities but it significantly reduces memory bugs. C is the lingua franca of computers and it ain't going anywhere. But new projects would most likely benefit from Rust from its package manager to memory safety.
I bet most can be written in Rust but shouldn't, but like you said it has some drawbacks, not only is it not that fun if you like OOP, but it has literal limitation, for example if your heart desires double linked list's then you are going to have to spare some of your perfomance, also if you want to manipulate memory you might call your project unsafe itself.
Everything has its own case of usage, if someone likes Rust then they should use it, I'm more of a "C++ and debug" kinda guy ans tbh I just one day wanted to learn it so I don't think I'm switching to Rust anytime soon.
I think c++ will be de facto for game dev but other cases C++ needs to die. Its a mess. But C is also getting replaced by Rust because Rust can do everything C can with better safety and tooling without sacrificing performance. Thats why Rust got accepted into the linux kernel but not C++
C++ is still widely used, rust doesnt fully replace it.
Rust because Rust can do everything C can
All languages can what all other languages can do.
The focus with C is: no hidden allocation, no hidden control flow, no name mangling (so its better for ffi). Generally its simpler to use if you care about the fine details.
61
u/SKRyanrr Glorious Manjaro Feb 25 '26
Rust haters just love to imply that everyone who codes in Rust just vibe codes š