News for hackers. Stuff that matters.
Re:Systems Programming with Zig (Book) by unclad5968 on Saturday October 04, 2025 @07:24PM (#45477652)
> So long as you get the basics right (like how Zig uses slices by default and has defer/errdefer statements), you won't have an RCE from a memory safety bug

This the exact same argument C/C++ uses. Just don't do anything wrong, and nothing wrong will happen.

Re:Systems Programming with Zig (Book) by hansvm on Saturday October 04, 2025 @08:12PM (#45477879)
Not in the slightest. Here it's the language getting the basics right rather than the user.