Also, I advise you don’t use page_allocator directly as it always asks the OS for a whole page even for tiny allocations. It is usually used behind other, smarter, allocators. ArenaAllocator.init(page_allocator) is fine for most small programs. Also, DebugAllocator (renamed from GeneralPurposeAllocator) is great for preventing memory bugs, though it doesn’t eliminate them entirely.
There is also a new allocator std.heap.smp_allocator, this is very fast, so fast it competes with glibc’s.