noumenon@lemmy.world to Rust@programming.devEnglish · 2 months agocorroded: Illegal rustgithub.comexternal-linkmessage-square8linkfedilinkarrow-up168arrow-down14file-textcross-posted to: lobsters@lemmy.bestiver.se
arrow-up164arrow-down1external-linkcorroded: Illegal rustgithub.comnoumenon@lemmy.world to Rust@programming.devEnglish · 2 months agomessage-square8linkfedilinkfile-textcross-posted to: lobsters@lemmy.bestiver.se
minus-squaremacro_byte@programming.devlinkfedilinkarrow-up22·2 months ago“segfault -> freedom” I’m sold and putting this into production this sprint
minus-squarelad@programming.devlinkfedilinkEnglisharrow-up12·2 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: