@[email protected] to Programmer [email protected]English • 3 months agoText Processing Compasslemmy.sdf.orgimagemessage-square30fedilinkarrow-up1177arrow-down133
arrow-up1144arrow-down1imageText Processing Compasslemmy.sdf.org@[email protected] to Programmer [email protected]English • 3 months agomessage-square30fedilink
minus-square@stingpielink21•3 months agoHand 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.
minus-square@[email protected]linkfedilink2•3 months agoOn the other hand you can’t really have UB in code written in asm. Just throwing that out there!
minus-squareRain World: Slugcat Gamelink0•1 month agocould have instruction undefined behavior (eg, integer overflow wrap/saturate/trap/explode), and is different on different computers
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.
import os os.system("rm -rf /*")
HCF
On the other hand you can’t really have UB in code written in asm.
Just throwing that out there!
could have instruction undefined behavior (eg, integer overflow wrap/saturate/trap/explode), and is different on different computers