#No support for linux in heap.zig in zig std lib
1 messages · Page 1 of 1 (latest)
often the page and c allocators are used inside of other allocators like ArenaAllocator or GeneralPurposeAllocator.
The Zig standard library provides a pattern for allocating memory, which allows
don't use page_allocator as a general purpose allocator: https://ziggit.dev/t/techniques-for-parsing-strings-and-more-json/1563/2
another relevant thread: https://ziggit.dev/t/is-it-ok-to-use-std-heap-page-allocator-directly/2589
and even more info: https://ziglang.org/documentation/master/#Choosing-an-Allocator