3 ms·
You may also be interested in this comment thread from the article page, where the author explains his opinion on Zig's approach to allocators: https://www.rfl
by doesntmeananyth 4y ago
You may also be interested in this comment thread from the article page, where the author explains his opinion on Zig's approach to allocators:
https://www.rfleury.com/p/untangling-lifetimes-the-arena-allocator/comment/9320539 https://www.rfleury.com/p/untangling-lifetimes-the-arena-all...
- jcparkyn 4y agoI don't use zig, but it seems to me that functions can choose exactly which type of allocator they want to accept (just by changing the type of the allocator parameter), making his point invalid.