3 ms·
Undefined != implementation defined. The more stuff that gets moved to implementation defined the better.
by Skunkleton 8y ago
Undefined != implementation defined. The more stuff that gets moved to implementation defined the better.
- rbanffy 8y agoIf everything is implementation defined, why bother with a standard?
- Skunkleton 8y agohttps://stackoverflow.com/a/4105123 https://stackoverflow.com/a/4105123 Why would you want undefined behavior?
- merlincorey 8y agoTo allow implementations slack to do things in the way that works best for them, in some cases of undefined behavior -- but not all of them. If you have not read it before, you might find "The Value of Undefined Behavior" informative: https://nullprogram.com/blog/2018/07/20/ https://nullprogram.com/blog/2018/07/20/
- Skunkleton 8y agoThe whole point of implementation defined behavior is to allow the individual implementations slack. I'm not saying C should be 100% UB free, just that implementation defined is preferable to undefined.
- deleted 8y ago[deleted]