this post was submitted on 11 Aug 2024
163 points (85.9% liked)

Programmer Humor

32410 readers
1840 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 2 months ago (1 children)

On the other hand you can't really have UB in code written in asm.

Just throwing that out there!

[โ€“] [email protected] 0 points 4 weeks ago

could have instruction undefined behavior (eg, integer overflow wrap/saturate/trap/explode), and is different on different computers