News for hackers. Stuff that matters.
Re:The search for easier safe systems programming by binary132 on Wednesday May 08, 2024 @08:14AM (#40297131)
nil dereference isn’t unsafe.
Re:The search for easier safe systems programming by imtringued on Thursday May 09, 2024 @02:54AM (#40305919)
It's undefined behaviour, which is even worse!
Re:The search for easier safe systems programming by binary132 on Thursday May 09, 2024 @10:34PM (#40314975)
Nope. Nil deref in Go is checked, and simply panics, just like array access out of bounds.