C++ reminiscence questions of safety have come underneath warmth lately, with rising curiosity in tasks like TrapC and Safe C++ that try to sort out the problem. But C++ designer Bjarne Stroustrup stays steadfast in selling profiles as important for security in C++.
Profiles can supply ensures for imposing restrictions on current options. In a February 7 notice to ISO (International Organization for Standardization) C++ committee members, Stroustrup emphasised the advantages of profiles, noting that C++ sort security and useful resource security, together with reminiscence security, had been goals of C++ from the very begin.
“The sky isn’t falling, but unless we act now and get C++ onto a track supporting a flexible framework of profiles (supporting various forms of safety), we risk a painful decline,” stated Stroustrup, who based C++ in 1979. According to Stroustrup, profiles are important to the language’s future, won’t break current code, and won’t forestall a favourite new function. They are also a part of an extended custom of C++ evolution. He suggested assist for preliminary profiles in C++ 26, and warned in opposition to incompatible, advert hoc restrictions as the choice.