Re:ISO C became unusable for operating systems development
by rocqua on Friday January 21, 2022 @05:20PM
(#30030699)
It's not so much about 'intent'. The spec simply says this operation is undefined behavior. You could have a compiler that you could somehow inform "please just define this behavior as reading whatever is in memory there". But that supports the original point of the article, that plain ISO C is not suitable for OS programming.
[ Parent
| on HN ]
Re:ISO C became unusable for operating systems development
by pjmlp on Saturday January 22, 2022 @08:45AM
(#30036547)
Which is why many that learn "my compiler C" than get surprised by what happens when their code runs somewhere else and then most likely blame the other compiler instead of blaming themselves by not learning the differences between ISO C and their daily compiler.