News for hackers. Stuff that matters.
Re:Branchless Rust: Making a Filter 4x Faster by Removing an If by amluto on Thursday August 06, 2026 @11:23AM (#49197969)
This particular UB is not one of the subtle cases. You will almost certainly get illegal instruction signals if you mess this up.
Re:Branchless Rust: Making a Filter 4x Faster by Removing an If by inigyou on Thursday August 06, 2026 @01:44PM (#49199915)
Is rust UB different from C UB? C UB must be avoided at all costs even if you think you know the actual behavior.
Re:Branchless Rust: Making a Filter 4x Faster by Removing an If by aapoalas on Thursday August 06, 2026 @03:24PM (#49201147)
It is not.
Re:Branchless Rust: Making a Filter 4x Faster by Removing an If by Ygg2 on Friday August 07, 2026 @03:26AM (#49207014)
I'd say unwrap isn't a subtle case either. Yet people see examples and think - "This is the way!"