black0ut@pawb.social to Programmer Humor@lemmy.ml · 9 months agoThey had a paid break, right?pawb.socialimagemessage-square59fedilinkarrow-up110arrow-down10
arrow-up110arrow-down1imageThey had a paid break, right?pawb.socialblack0ut@pawb.social to Programmer Humor@lemmy.ml · 9 months agomessage-square59fedilink
minus-squareGork@lemm.eelinkfedilinkarrow-up0·9 months agoAt least with your assembly code it’ll go brrrrrrrt because of how fast it’ll be.
minus-squareℍ𝕖𝕝𝕝𝕤𝕥𝕠𝕣𝕞𝕪@lemmy.worldlinkfedilinkarrow-up0·9 months agoI always have problems with assembly. Especially after being at Ikea.
minus-squarenoddy@beehaw.orglinkfedilinkarrow-up0·9 months agoIt will go brrrrrrrt¤gdføTJwrgt65&<)5½$¥[[¥½{2ahgfh Segmentation fault (core dumped)
minus-square30p87@feddit.delinkfedilinkarrow-up0·9 months agoIf you know that you do. What you probably do not. A proper C/C++ compiler (gcc) will almost always produce better/more optimized ASM than a human ever could.
minus-squareOrygin@sh.itjust.workslinkfedilinkarrow-up0·9 months agoMy assembly code only goes brt :(
minus-squareUnRelatedBurner@sh.itjust.workslinkfedilinkarrow-up0·9 months agoit reaches ‘t’ from ‘b’ with a lot less iterations of ‘r’. It seems to me that you have a more optimized version. :)
At least with your assembly code it’ll go brrrrrrrt because of how fast it’ll be.
Assuming it actually works
I always have problems with assembly. Especially after being at Ikea.
It will go brrrrrrrt¤gdføTJwrgt65&<)5½$¥[[¥½{2ahgfh Segmentation fault (core dumped)
If you know that you do. What you probably do not. A proper C/C++ compiler (gcc) will almost always produce better/more optimized ASM than a human ever could.
My assembly code only goes brt :(
it reaches ‘t’ from ‘b’ with a lot less iterations of ‘r’. It seems to me that you have a more optimized version. :)