3 ms·
> The undefined behavior is there primarily to account for the variation in platforms. Honest question: Doesn't implementation-defined behavior suffice to addr
by catnaroek 10y ago
> The undefined behavior is there primarily to account for the variation in platforms.
Honest question: Doesn't implementation-defined behavior suffice to address variations across platforms? Undefined behavior has far more drastic consequences: compilers are allowed to assume it simply won't happen.
- vonmoltke 10y agoOn further review, I think I was conflating undefined behavior with implementation-defined behavior. As pcwalton pointed out, though, in the early days there wasn't really a distinction between the two.