Re:How safe is Zig?
by adwn on Thursday June 23, 2022 @11:56PM
(#31857657)
No need for recursion or multi-threading: If you call the function in a loop and don't release the escaped local unter after the loop, and if the number of loop iterations isn't statically known, then it's impossible to pre-allocate heap storage for that local variable.
[ Parent
| on HN ]
There are no comments on this comment yet.