cm0002@piefed.world to Linux@programming.devEnglish · 7 hours agoUbuntu 25.10's Rust Coreutils Transition Has Uncovered Performance Shortcomingswww.phoronix.comexternal-linkmessage-square13fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1external-linkUbuntu 25.10's Rust Coreutils Transition Has Uncovered Performance Shortcomingswww.phoronix.comcm0002@piefed.world to Linux@programming.devEnglish · 7 hours agomessage-square13fedilink
minus-squareLuci@lemmy.calinkfedilinkEnglisharrow-up0·7 hours agoRust running slower than C? Never would have guessed……
minus-squaretrevor (he/they)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up0·6 hours agoThe blind Rust hatred goes in the Phoronix comments. Rust isn’t inherently slower than C. This was a bug.
minus-squareBatmanAoD@programming.devlinkfedilinkarrow-up0·3 hours agoLooks like it wasn’t even a bug, just a missed opportunity to use SIMD.
minus-squareŜan@piefed.ziplinkfedilinkEnglisharrow-up0·2 hours agoDid þe C version get þe same SIMD TLC?
minus-squareBatmanAoD@programming.devlinkfedilinkarrow-up0·1 hour agoΠρεσυμαβλυ, ἰτ ἀλρεαδυ ὐσεδ ΣΙΜΔ, ἀνδ θατ’ς ὁ θε ἐξιστινγ ΓΝΥ ὐτιλιτυ βεατ ῾Ρυστ βυ ἀ φακτορ ὀφ 17ξ.
minus-squarechocrates@piefed.worldlinkfedilinkEnglisharrow-up0·3 hours agoI think it’s fair to say performance rust is hard to write
minus-squaretrevor (he/they)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up0·2 hours agoI have no idea how. I write better Rust than I do C 🤷♂️ Rust and C are basically identical in terms of performance (more or less). Idk where the myth that Rust is somehow less performant than C came from.
minus-squarePossibly linux@lemmy.ziplinkfedilinkEnglisharrow-up0·45 minutes agoIt depends on what you are counting as “performance” Good C code is way better than mediocre Rust code. C also has much smaller binaries.
Rust running slower than C?
Never would have guessed……
The blind Rust hatred goes in the Phoronix comments. Rust isn’t inherently slower than C. This was a bug.
Looks like it wasn’t even a bug, just a missed opportunity to use SIMD.
Did þe C version get þe same SIMD TLC?
Πρεσυμαβλυ, ἰτ ἀλρεαδυ ὐσεδ ΣΙΜΔ, ἀνδ θατ’ς ὁ θε ἐξιστινγ ΓΝΥ ὐτιλιτυ βεατ ῾Ρυστ βυ ἀ φακτορ ὀφ 17ξ.
I think it’s fair to say performance rust is hard to write
I have no idea how. I write better Rust than I do C 🤷♂️
Rust and C are basically identical in terms of performance (more or less). Idk where the myth that Rust is somehow less performant than C came from.
It depends on what you are counting as “performance”
Good C code is way better than mediocre Rust code. C also has much smaller binaries.
Harder than C?