Bjarne Stroustrup, the creator of C++, penned thoughts on the activities of the C++ Standard Committee, or WG21, stating that bolstering the language’s resistance to memory bugs is crucial due to the unprecedented levels of attacks currently targeting C++.
Although not directly addressing its competitors, Stroustrup alludes to Rust, a swiftly growing language renowned for its safe memory handling capabilities. C++ has indeed proposed various safe coding initiatives, such as TrapC or Safe C++, with Stroustrup himself suggesting Profiles standards to enforce memory bug protections by specifying Type safety, Pointer safety, and ownership.
A significant advantage of enhancing C++ for safe coding practices is the ability for projects to gradually enforce these new coding standards section by section, negating the need for a complete code rewrite.
Source: The Register
Stroustrup’s proposition to introduce Profiles for enforcing secure C++ coding practices in 2023.
TLDR: Stroustrup emphasizes the importance of enhancing C++ to withstand memory bugs, proposing the implementation of Profiles to enforce safe coding practices.
Leave a Comment