3 ms·
You absolutely do have to study a lot about the C language to understand when you slip into undefined behavior. There are even circumstances in which compiler d
by pcwalton 9y ago
You absolutely do have to study a lot about the C language to understand when you slip into undefined behavior. There are even circumstances in which compiler developers don't agree on whether some code has defined behavior or not.
- kbumsik 9y agoYou are correct. But most cases are explicitly mentioned in compiler's documentations. I would say it's less efforts than getting to know about other language internals.
- pcwalton 9y agoI disagree. It is significantly easier to determine the semantics of arbitrary Java programs than C programs.