Zig is all about making things explicit. Destructors are hidden code. I presume there will be an application level tracking of lifetime.