this post was submitted on 11 Aug 2024
153 points (85.6% liked)

Programmer Humor

32380 readers
1269 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
[–] stingpie@lemmy.world 21 points 2 months ago (1 children)

Hand written assembly is much more powerful than a turing-complete high level language because it lets you fuck up everything. Rust and python are way too wimpy to allow a user to destroy their computer.

[–] vext01@lemmy.sdf.org 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!

[–] rain_worl@lemmy.world 0 points 3 weeks ago

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