3 ms·
Well, for one thing, zig apparently has no built-in memory allocator?
by DblPlusUngood 8y ago
Well, for one thing, zig apparently has no built-in memory allocator?
- AnIdiotOnTheNet 8y agoKinda, Zig has a small selection of allocators in the standard library, but it would be true to say that it has no "default" allocator. Idiomatic Zig code that requires allocation accepts the allocator interface as a parameter, so that the programmer is free to choose whatever implementation suits their needs.