sebastiancarlos@lemmy.sdf.org to Programmer Humor@lemmy.mlEnglish · 3 months agoText Processing Compasslemmy.sdf.orgimagemessage-square33fedilinkarrow-up1194arrow-down132
arrow-up1162arrow-down1imageText Processing Compasslemmy.sdf.orgsebastiancarlos@lemmy.sdf.org to Programmer Humor@lemmy.mlEnglish · 3 months agomessage-square33fedilink
minus-squarestingpie@lemmy.worldlinkfedilinkarrow-up22·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-squarevext01@lemmy.sdf.orglinkfedilinkarrow-up2·3 months agoOn the other hand you can’t really have UB in code written in asm. Just throwing that out there!
minus-squarerain_worl@lemmy.worldlinkfedilinkarrow-up0·20 days 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.
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