C++ Programming Language and Safety: Here's Where It Goes Next
There's been a shift towards 'memory safe' languages. So, can updates to C++ help it catch up in the eyes of developers?
A group working on the development of the hugely popular C++ programming language has outlined a path to make the language "memory safe" -- just like its younger rival, Rust.
Rust has been embraced by Microsoft, AWS, Meta, Google's Android Open Source Project, the C++-dominated Chromium project (sort of), the Linux kernel, and many more, which has helped to reduce memory security flaws. Even the National Security Agency (NSA) has recommended developers make a strategic shift away from C++ in favor C#, Java, Ruby, Rust, and Swift.
Widespread warnings about C++ security have prompted moves to plot a path forward for the "Safety of C++", detailed in a paper by a group including Bjarne Stroustrup, the creator of C++, for the C++ Standards Committee Working Group 21 (WG21), which was released this month.