News for hackers. Stuff that matters.
Re:AI is forcing us to pay off 40 years of technical debt by wrs on Thursday November 05, 2026 @12:16AM (#50375493)
Interestingly, in C++, a trivial infinite loop is undefined behavior. So the compiler not only doesn’t have to detect it, it is allowed to assume you didn’t do it. [0] This is inconvenient when you actually want a trivial infinite loop. (C++26 was going to fix this, but it seems we may not ever get a C++26…)

[0] https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p28...

There are no comments on this comment yet.