Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Changed to "valid reasons"


The problem of dangling pointers is not unique to error data.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: