Re:My Experience of building Bytebeat player in Zig
by throwawaymaths on Friday November 07, 2025 @04:19PM
(#45851230)
please remember that the page allocator makes an expensive kernel call on each alloc/free call, so if allocation is frequent you may want at least a bump allocator on top. if you don't mind linking libc, for default use cases, c_allocator might be a better choice, as malloc is a quite battle tested general purpose allocator.
[ Parent
| on HN ]
There are no comments on this comment yet.