starman@programming.dev to Rust@programming.devEnglish · 9 months agoA very small Rust binary indeeddarkcoding.netexternal-linkmessage-square3fedilinkarrow-up148arrow-down10file-textcross-posted to: hackernews@lemmy.smeargle.fans
arrow-up148arrow-down1external-linkA very small Rust binary indeeddarkcoding.netstarman@programming.dev to Rust@programming.devEnglish · 9 months agomessage-square3fedilinkfile-textcross-posted to: hackernews@lemmy.smeargle.fans
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up4·9 months agoIDK, I’m not aware of all the fancy asm commands, but compilers are, so a good compiler will probably produce better code than me. For example, simple loops could turn into a set of SIMD instructions or be unrolled, while I’d naively do a jump loop.
IDK, I’m not aware of all the fancy asm commands, but compilers are, so a good compiler will probably produce better code than me. For example, simple loops could turn into a set of SIMD instructions or be unrolled, while I’d naively do a jump loop.