Is C, C++ Dead?
Prasanna Kedilaya
Technology leader - Cloud Technologies, Automation, SAP Platform, Products and Services. Drive SAP Platform product strategy, vision, and roadmap, FinOps Practitioner, Cloud Therapist
fn main() {
println!("Hello, world!");
}
According to Azure CTO Mark Russinovich , the industry should treat C and C++ as deprecated for security and reliability reasons, based on a recent article by Liam Tung in ZDNet. I believe reliability was never a question. One of my C programs was a workhorse for 20 years and recently sunset.
Is Mark fed up with all the windows patches released to fix memory safety? It is estimated that 70% of the patches in the past 12 years is fixes for memory safety bugs with windows written primarily using C, C++.
Considering the energy efficiency of the programming languages, C is the greenest while Rust and C++ come in second and third place. Which language do you pick instead of C or C++?
Rust is getting popular amongst engineers who value its memory safety guarantees. torvald linus predicts Rust will be part of the Linux 6.1 kernel. Is the only qualifier about Rust that it was preferable over C and C+ that require a non-garbage-collected (GC) language?
Rust is a replacement for C and C++ for system-level programming for infrastructure and embedded software development, but not everywhere.
Ultimately, no new programming language is a silver bullet for all the bad habits developers practice when coding. C and C++ will live for the foreseeable future, and you can write safely in C and C++.