News for hackers. Stuff that matters.
Re:Sshole by throwawayffffas on Thursday November 05, 2026 @12:07PM (#50381585)
I learned maybe a year in software, should not match/happen are famous last words.

This is just negligent. Not a fan of rewrite in rust, but I find it highly unlikely this would happen in that community.

Re:Sshole by dabinat on Thursday November 05, 2026 @03:32PM (#50384104)
Rust tells you off if you don’t handle Results. Sure, you can still just unwrap() it and have it panic, but at least that’s a specific decision instead of forgetting to check for NULL like in this case.