Optimizations and undefined behavior
Posted Jul 21, 2009 20:55 UTC (Tue) by BrucePerens
In reply to: Optimizations and undefined behavior
Parent article: Fun with NULL pointers, part 1
The recent ext3 fsync() snafu is a good example of implementation dependent behavior becoming taken as an implicit guarantee. And then the developer had to reduce the scope of the promise for performance reasons. He ended up regretting that he had ever made that feature visible.
Anyway, there was no such guarantee in this case.
to post comments)