|
|
|
|
|
by AnIdiotOnTheNet
2754 days ago
|
|
Kinda, 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. |
|
Here some more details:
[1] https://www.youtube.com/watch?v=WLJ_7lpBhys