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!
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!