I haven’t don’t much programming in Rust yet, but just based on the syntax and apparent complexity (at least it looks quite complex to an outsider like me) it always seemed more like “C++ but better” rather than “C but better”.
I haven’t used Zig myself but I think it could have its place. IMO Rust has moved too far away from C to be something many existing users will move to (and using both in the same project is messy), but Zig seems to integrate well enough that it might.
Definitions of “better” may vary. It’s better to be objective and refer to specific features. For instance, the C programming language is standardized and ubiquitous, and in the event of a nuclear apocalypse odds are C projects will continue to be compilable. None of it’s alternatives comes close to provide that level of stability and reliability.
I’m not saying Rust is better - I prefer c/cpp myself. I’m just saying that if someone is going to move away from c to a new language, it’s overwhelmingly more likely to be Rust.
A bit late to the party. Anyone wanting “C but better” is moving to Rust.
I haven’t don’t much programming in Rust yet, but just based on the syntax and apparent complexity (at least it looks quite complex to an outsider like me) it always seemed more like “C++ but better” rather than “C but better”.
I haven’t used Zig myself but I think it could have its place. IMO Rust has moved too far away from C to be something many existing users will move to (and using both in the same project is messy), but Zig seems to integrate well enough that it might.
Definitions of “better” may vary. It’s better to be objective and refer to specific features. For instance, the C programming language is standardized and ubiquitous, and in the event of a nuclear apocalypse odds are C projects will continue to be compilable. None of it’s alternatives comes close to provide that level of stability and reliability.
I’m not saying Rust is better - I prefer c/cpp myself. I’m just saying that if someone is going to move away from c to a new language, it’s overwhelmingly more likely to be Rust.