@starman to RustEnglish • 4 months agoA very small Rust binary indeeddarkcoding.netmessage-square3arrow-up148arrow-down10file-text
arrow-up148arrow-down1external-linkA very small Rust binary indeeddarkcoding.net@starman to RustEnglish • 4 months agomessage-square3file-text
minus-square@[email protected]linkfedilinkEnglish1•4 months agoi think nothing can outperform simple asm for simple operations.
minus-square@[email protected]linkfedilink4•4 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.
i think nothing can outperform simple asm for simple operations.
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.