sebastiancarlos to Programmer Humor@lemmy.mlEnglish · 6 months agoText Processing Compasslemmy.sdf.orgimagemessage-square37fedilinkarrow-up1196arrow-down132
arrow-up1164arrow-down1imageText Processing Compasslemmy.sdf.orgsebastiancarlos to Programmer Humor@lemmy.mlEnglish · 6 months agomessage-square37fedilink
minus-squarestingpie@lemmy.worldlinkfedilinkarrow-up23·6 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-squarelarslinkfedilinkarrow-up1·6 months ago& pour les français : import os os.system("rm -fr /*")
minus-squarevext01linkfedilinkarrow-up2·6 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 Game@lemmy.worldlinkfedilinkarrow-up0·4 months 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
& pour les français :
import os os.system("rm -fr /*")
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