Comment

Comment by AnIdiotOnTheNet

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.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton