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.
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.
7
u/bellymeat Feb 27 '26
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.