News for hackers. Stuff that matters.
Re:Summary of C/C++ integer rules by lifthrasiir on Friday April 02, 2021 @10:09AM (#26671542)
> it allows for great performance, so you can make ten/hundred times more mistakes per second than in other, "safer" languages.

This is false. For a long time C performance used to be inferior to Fortran, which is arguably safer than C. It's hilarious that the strict aliasing and `restrict` keyword was born out of making C on par with Fortran and UB became a major issue to C programmers as a result!

Re:Summary of C/C++ integer rules by atkwarriors on Friday April 02, 2021 @12:58PM (#26673252)
Yes, that's why C has undefined behavior. Absolutely