Dessalines@lemmy.ml to Rust Programming@lemmy.ml · 10 months agoUbuntu 25.10 Switches to Rust-based Sudowww.omgubuntu.co.ukexternal-linkmessage-square8linkfedilinkarrow-up145arrow-down13cross-posted to: rust@programming.dev
arrow-up142arrow-down1external-linkUbuntu 25.10 Switches to Rust-based Sudowww.omgubuntu.co.ukDessalines@lemmy.ml to Rust Programming@lemmy.ml · 10 months agomessage-square8linkfedilinkcross-posted to: rust@programming.dev
minus-squareNarannlinkfedilinkEnglisharrow-up2·10 months agoHappy to see more rust! I’m geniously curious : Is there a difference in binary sizes? 5%? 10%?
minus-squareFerk@lemmy.mllinkfedilinkarrow-up3·edit-210 months agoLooks like it’s split in library and binary, the binary itself is smaller, but if you add the size of the library it would be about 10% bigger. At least judging by the package sizes. From https://security.ubuntu.com/ubuntu/pool/universe/r/rust-sudo-rs/ sudo-rs_0.2.5-5ubuntu1_amd64.deb 2025-06-13 15:46 536K librust-sudo-rs-dev_0.2.5-5ubuntu1_amd64.deb 2025-06-13 15:46 580K From http://archive.ubuntu.com/ubuntu/pool/main/s/sudo/ sudo_1.9.16p2-1ubuntu1_amd64.deb 2025-02-19 19:02 1.0M
Happy to see more rust!
I’m geniously curious : Is there a difference in binary sizes? 5%? 10%?
Looks like it’s split in library and binary, the binary itself is smaller, but if you add the size of the library it would be about 10% bigger. At least judging by the package sizes.
From https://security.ubuntu.com/ubuntu/pool/universe/r/rust-sudo-rs/
From http://archive.ubuntu.com/ubuntu/pool/main/s/sudo/