3 ms·
Zig is low level programming language with explicit allocation controls. This allocator is useful to write extremely efficient algorithms in certain scenarios.
by mirekrusin 4y ago
Zig is low level programming language with explicit allocation controls.
This allocator is useful to write extremely efficient algorithms in certain scenarios.
If you wanted to throw on double free, you'd have to track what was freed and this tracking doesn't come for free.
Documentation has section on choosing allocator [0].
[0] https://ziglang.org/documentation/master/#Choosing-an-Allocator https://ziglang.org/documentation/master/#Choosing-an-Alloca...