All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

C++26 tackles safety concerns by addressing erroneous and undefined behavior

By

todsacerdoti

8mo ago· 4 min readenInsight

Summary

The article discusses the ongoing efforts within the C++ community and standards committee to address safety concerns, particularly around undefined behavior. It highlights that while most agree safety is important, there are differing perspectives on how to solve the problem. The piece focuses on C++26 developments related to "erroneous behaviour" as a way to mitigate undefined behavior issues that affect both safety and the language's reputation.

Key quotes

· 4 pulled
If you pick a random talk at a C++ conference these days, there is a fair chance that the speaker will mention safety at least a couple of times.
The committee and the community must think about improving both the safety situation and the reputation of C++.
I think almost everybody finds it important, but they would solve the problem in their own way.
A big source of issues is certain manifestations of undefined behaviour.
Snippet from the RSS feed
If you pick a random talk at a C++ conference these days, there is a fair chance that the speaker will mention safety at least a couple of times. It’s probably fine like that. The committee and the community must think about improving both the safety situ

You might also wanna read