Is C, C++ Dead?

Is C, C++ Dead?


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++.

要查看或添加评论,请登录

Prasanna Kedilaya的更多文章

  • I mean... Who hasn't done this before really?

    I mean... Who hasn't done this before really?

    Prasanna Kedilaya Every incident is unique in certain way. Some can be result of an unexpected behavior that stem from…

    2 条评论

社区洞察