Menu
Should C/C++ be deprecated in favour of Rust?

Should C/C++ be deprecated in favour of Rust?

Microsoft executive says it’s time to retire the C and C++ programming languages and use Rust instead.

Credit: Dreamstime

Is it time to retire the legacy C and C++ programming languages, and turn to the high-flying Rust language instead? A prominent Microsoft official believes so.

In a tweet on September 19, Mark Russinovich, CTO of Microsoft Azure, suggested that the day has come to move to Rust for new development not involving garbage collection languages. Russinovich wrote:

Speaking of languages, it’s time to halt starting any new projects in C/C++ and use Rust for those scenarios where a non-GC language is required. For the sake of security and reliability, the industry should declare those languages as deprecated.

Begun as a Mozilla research project, Rust was designed to be memory safe, fast, and reasonably easy for developers to use. Rust 1.0 version arrived in 2015. The language has steadily gained adherents and is updated almost monthly. Rust recently gained its own dedicated security team and is expected to soon be accepted into the Linux kernel.

The C language and its derivative C++ date back to the 1970s but remain popular, with C favored for bare-metal compatibility and performance and C++ often leveraged in applications such as machine learning and databases. C++ has been the object of modernisation efforts.

The Cppfront project, from prominent C++ developer Herb Sutter, is an experimental compiler for an alternate syntax that would make the language safer and easier. Another project, Carbon, aims to be an interoperable successor to C++, one that overcomes the difficulties involved in improving C++, which Carbon proponents describe as “saddled with decades of technical debt.”

Rust, which compiles to native machine code, is considered on par with C in terms of performance. However, not everyone was immediately on board with Russinovich’s suggestion.

One commenter wrote, “I’ll have to respectfully disagree; Rust may have safer defaults, but it has not been in production long enough to been proven ready to replace C or C++.” Another was more adamant: “Please no, programming in Rust feels like bashing my head against a wall.”

For the time being, it appears that Rust’s popularity will continue to grow, but also that C and C++ will continue to stick around.


Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags softwareRust

Events

ARN Innovation Awards 2022

Innovation Awards is the market-leading awards program for celebrating ecosystem innovation and excellence across the technology sector in Australia.

EDGE 2022

EDGE is the leading technology conference for business leaders in Australia and New Zealand, built on the foundations of collaboration, education and advancement.

Brand Post

Channel Roadmap

The Channel Roadmap is a bespoke content hub housing strategic priorities from technology vendors for 2022 and beyond, partners can find the guidance on the key technologies and markets to pursue, to help build a blueprint for future success.

Show Comments