News for hackers. Stuff that matters.
Re:The C++ standard for the F-35 Fighter Jet [video] by creato on Monday December 08, 2025 @01:05AM (#46188922)
You're right, the thing I linked to do does exactly that. I should have read it more closely.

The projects that I've worked on, unconditionally define it as a thing that crashes (e.g. `std::abort` with a message). They don't actually use that C/C++ thing (because C23 is too new), and apparently it would be wrong to do so.

Re:The C++ standard for the F-35 Fighter Jet [video] by uecker on Monday December 08, 2025 @04:53AM (#46190411)
You can use the standard feature with the unreachable sanitizer: https://godbolt.org/z/3hePd18Tn