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

It has "defer" and "errdefer" constructs for cleaning up resources, comparable to Go, but obviously applying to more things since there's no GC.

https://ziglang.org/documentation/master/#defer



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

Search: