top | item 28950665

(no title)

talaketu | 4 years ago

> more efficient code that does the same thing

In this case, it produces a different result.

discuss

order

masklinn|4 years ago

It produces a different ub, which is ub.

Furthermore observability would be defined in terms of the C abstract machine, “observing” by decompiling the program is out of scope.

talaketu|4 years ago

oh right

> But what if you're not using C99 or newer?

UB - that takes all the fun out of it.