starman@programming.dev to Rust@programming.devEnglish · 1 year agoA very small Rust binary indeeddarkcoding.netexternal-linkmessage-square3fedilinkarrow-up146file-textcross-posted to: hackernews@lemmy.smeargle.fans
arrow-up146external-linkA very small Rust binary indeeddarkcoding.netstarman@programming.dev to Rust@programming.devEnglish · 1 year agomessage-square3fedilinkfile-textcross-posted to: hackernews@lemmy.smeargle.fans
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up3·1 year 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.