Superb discussion of the many types of UB in C/C++ and how to deal with them:
https://blog.regehr.org/archives/1520
(infinite loops is my fav oddball UB)
Crikey, users are asking ChatGPT about C++ undefined behaviour! Https://news.ycombinator.com/item?id=34706438
pop_back on an empty vector is UB apparently.
Programming languages usually try to minimise undefined behaviour.
What if you did the opposite?
How much UB could you have whilst still being (theoretically) usable?