logoalt Hacker News

ozgrakkurtyesterday at 9:35 AM0 repliesview on HN

I found that some error prone cases are harder to express with defer in zig.

For example if I have a ffi function that transfers the ownership of some allocator in the middle of the function.