3 ms·
> 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
by lifthrasiir 6y ago
> 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!
- atkwarriors 6y agoYes, that's why C has undefined behavior. Absolutely