@bunny @complexmath "Like any code for which the result cannot be defined must not be compiled."
A language with this rule, by definition, does not have UB.
@bunny @complexmath "Like any code for which the result cannot be defined must not be compiled."
A language with this rule, by definition, does not have UB.
@mcc@mastodon.social @complexmath@hachyderm.io Yes, and my impression is that for most programming languages this is the standard. To cause UB you would have to use FFI to load to a C library or something. That rust does allow that inline using unsafe{} is an interesting design choice but whatever. Yes, there is a lot of languages that I did not examine in detail, I do not see any reason whatsoever for them to have UB, and they might :abunhd: