4 ms·
One thing I miss from this presentation is good war story examples of unexpected or horrid things happening from UB causing the compiler to omit critical code.
by willvarfar 11y ago
One thing I miss from this presentation is good war story examples of unexpected or horrid things happening from UB causing the compiler to omit critical code.
Here are some examples: http://blog.llvm.org/2011/05/what-every-c-programmer-should-know_14.html http://blog.llvm.org/2011/05/what-every-c-programmer-should-...
Anyone got any more? Please, anecdotes help explain this! :D
- Kristine1975 11y agoMore examples in this paper with the title "Undefined Behavior: What Happened to My Code?": https://homes.cs.washington.edu/~akcheung/papers/apsys12.html https://homes.cs.washington.edu/~akcheung/papers/apsys12.htm...