News for hackers. Stuff that matters.
Re:Why is Zig so Cool? by metaltyphoon on Friday November 07, 2025 @10:23PM (#45853845)
> I know that Zig doesn't allow attaching data to error for good reasons. If error data contains interior pointer then it causes memory safety problem

IMO this is not a good reason at all.

Re:Why is Zig so Cool? by qouteall on Friday November 07, 2025 @10:29PM (#45853877)
Changed to "valid reasons"
Re:Why is Zig so Cool? by jibal on Saturday November 08, 2025 @12:02AM (#45854284)
The problem of dangling pointers is not unique to error data.