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

Well said! Having a mental borrow checker running in background certainly helps a lot when coding in Zig. What also helps is that Zig safety checks generally catch lifetime bugs at runtime nicely. E.g., undefined memory is set to `0xAAAA`, which, if interpreted as a pointer, is guaranteed to be invalid, and fail loudly on dereference.


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

Search: