Hacker News new | ask | show | jobs
by lifthrasiir 1906 days 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!

1 comments

Yes, that's why C has undefined behavior. Absolutely