|
|
|
|
|
by mirekrusin
1189 days 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-Alloca... |
|