black0ut@pawb.social to Programmer Humor@lemmy.ml · 10 months agoThey had a paid break, right?pawb.socialimagemessage-square67fedilinkarrow-up11.15Karrow-down111
arrow-up11.14Karrow-down1imageThey had a paid break, right?pawb.socialblack0ut@pawb.social to Programmer Humor@lemmy.ml · 10 months agomessage-square67fedilink
minus-squareGork@lemm.eelinkfedilinkarrow-up18·10 months agoAt least with your assembly code it’ll go brrrrrrrt because of how fast it’ll be.
minus-squarenoddy@beehaw.orglinkfedilinkarrow-up24·10 months agoIt will go brrrrrrrt¤gdføTJwrgt65&<)5½$¥[[¥½{2ahgfh Segmentation fault (core dumped)
minus-squareℍ𝕖𝕝𝕝𝕤𝕥𝕠𝕣𝕞𝕪@lemmy.worldlinkfedilinkarrow-up9·10 months agoI always have problems with assembly. Especially after being at Ikea.
minus-squareMonkderZweite@feddit.chlinkfedilinkarrow-up2·9 months agoA pal in tech school did code golf in assembly. There are people like that.
minus-square30p87@feddit.delinkfedilinkarrow-up10·10 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-up5·10 months agoMy assembly code only goes brt :(
minus-squareUnRelatedBurner@sh.itjust.workslinkfedilinkarrow-up7·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. :)
minus-squareqaz@lemmy.worldlinkfedilinkarrow-up1·edit-29 months agoMaybe you switched up jg and jl? /s
At least with your assembly code it’ll go brrrrrrrt because of how fast it’ll be.
It will go brrrrrrrt¤gdføTJwrgt65&<)5½$¥[[¥½{2ahgfh Segmentation fault (core dumped)
Assuming it actually works
I always have problems with assembly. Especially after being at Ikea.
A pal in tech school did code golf in assembly. There are people like that.
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. :)
Maybe you switched up
jg
andjl
?/s