3 ms·
It's actually a big problem and anything but common sense. Do all C programmers know what strict aliasing means? How about pointer provenance? Have they memo
by armitron 6y ago
It's actually a big problem and anything but common sense.
Do all C programmers know what strict aliasing means?
How about pointer provenance?
Have they memorized integer promotion rules?
These are all potential sources of undefined behavior that can lead to catastrophic results.
I bet most experienced C programmers with decades under their belt would fail one or more of these tests.