The Technology section is published with the support of Favbet Tech
C++ author Bjarne Stroustrup criticized the US government, which urged developers to use “safe for memory” programming languages and avoid using vulnerable languages such as C++ and C.
“I find it strange that the authors of these regulations do not recognize the strengths of modern C++ and the efforts aimed at ensuring security,” Strausrup noted in a commentary for InfoWorld. < /p>
The developer pointed out what he believes are the strengths of C++ – the constant improvement in security since its creation in 1979 until now.
“Just compare the K&R C language with ancient C++, and early C++ with modern C++. My talk at CppCon 2023 outlines this evolution. A lot of quality C++ is written using techniques based on RAII (Resource Acquisition Is Initialization), containers, and resource management pointers,” he said.
Bjarne Stroustrup also spoke about efforts to improve the security of the programming language.
English For IT: Communication. Make it easy to work and collaborate with multicultural teams and international clients. Take a 10% discount with promo code ITCENG. Information about the course
- Of the billions of lines of C++, few fully comply with modern instructions, and people's ideas about what aspects of security are important differ. We need to clarify the information.
- Profiles are a framework for defining what a piece of code guarantees and allowing implementations to verify them. There are documents on the WG21 Programming Language Standards Committee website that describe this. Profiles allow you to gradually improve your security. For example, resolve most range errors relatively quickly.
“My long-term goal for C++ is for C++ to provide type and resource safety when and where it's needed,” the developer concluded.
Recall that in a new report, the White House Office of National Cyber Director (ONCD) called on developers to use “memory-safe programming languages” and abandon tools in C or C++. The advice is a step toward “protecting the building blocks of cyberspace.”
According to the government, C and C++ allow arbitrary arithmetic with pointers with direct memory addresses no bounds checking.
The Technology section is published with the support of Favbet Tech
Favbet Tech is IT a company with 100% Ukrainian DNA, which creates perfect services for iGaming and Betting using advanced technologies and provides access to them. Favbet Tech develops innovative software through a complex multi-component platform that can withstand enormous loads and create a unique experience for players. The IT company is part of the FAVBET group of companies.
The competition for ITS authors continues. Write an article about the development of games, gaming and gaming devices and win a professional gaming wheel Logitech G923 Racing Wheel, or one of the low-profile gaming keyboards Logitech G815 LIGHTSYNC RGB Mechanical Gaming Keyboard!