noumenon@lemmy.world to Rust@programming.devEnglish · 9 months agocorroded: Illegal rustgithub.comexternal-linkmessage-square5linkfedilinkarrow-up147arrow-down12file-text
arrow-up145arrow-down1external-linkcorroded: Illegal rustgithub.comnoumenon@lemmy.world to Rust@programming.devEnglish · 9 months agomessage-square5linkfedilinkfile-text
minus-squaremacro_byte@programming.devlinkfedilinkarrow-up14·9 months ago“segfault -> freedom” I’m sold and putting this into production this sprint
minus-squarelad@programming.devlinkfedilinkEnglisharrow-up11·9 months agoAlso gold: The compiler assumes mutable references are unique and optimizes based on that. When you break the assumption, the optimizer generates wrong code. Compiler skill issue.
“segfault -> freedom”
I’m sold and putting this into production this sprint
Also gold: