pjmlp 7 days ago

Indeed, however many in the treches would like a more serious take on security, complaining has not served anything in the last 50 years until goverment agencies finally decided to step in.

1
uecker 7 days ago

This is again a problem compilers could have addressed, but didn't. Mostly because the users in the trenches did not care. Instead they flocked in droves to the compiler optimizing in the most aggressive way and rejecting everything costing performance. So I do not have the feeling that users were really pushing for safety. They are very good at complaining though.

ndiddy 7 days ago

GCC and Clang support asan/ubsan, which lets you trade performance for nicer behavior related to memory access and undefined behavior. Whenever I do C development for a platform that supports asan/ubsan, I always develop and test with them enabled just because of how much debugging time they save.

uecker 6 days ago

Yes. Ubsan you should probably also turn on in production.

pjmlp 6 days ago

It is like democracy, election results not always reflect the needs of everyone, and some groups are more favored than others.

uecker 6 days ago

I think my point is that a standardization committee is not a government.

pjmlp 5 days ago

It surely looks like one from the outside.

Features only get added when there is a champion to push for them forward across all hurdles (candidate), and voted in by its peers (election), at the end of a government cycle (ISO revision), the compiler users rejoice for the new set of features.

uecker 5 days ago

You may have noticed that most features existed in compilers before.