News for hackers. Stuff that matters.
Re:Systems Programming with Zig (Book) by throwawaymaths on Saturday October 04, 2025 @11:52AM (#45474213)
1. you get spatial memory safety which iirc is more common for security problems than temporal.

2. honestly for high performance applications you might reach for an ECS type system anyways (i think dom engines do this) at which point you would be getting around the borrow checker anyways.

Re:Systems Programming with Zig (Book) by bjackman on Saturday October 04, 2025 @07:59PM (#45477815)
> you get spatial memory safety which iirc is more common for security problems than temporal.

No, at least in the Linux kernel use-after-free is the biggest memory safety issue by a long way.

Maybe this isn't true in some other system software? Like if you are dealing with parsing. But, you don't really need memory safety for that usecase, fuzzing is unreasonably effective.

(Obviously for greenfield dev, safe languages are the way to go. But setting up a dank fuzzing pipeline is easier than migrating to a new language).