51 ms·
> the only memory safety gamedev needs are bound checking and use after free protections Disagree, but in any case, we're talking about the fact that Zig doesn
by pcwalton 5y ago
> the only memory safety gamedev needs are bound checking and use after free protections
Disagree, but in any case, we're talking about the fact that Zig doesn't provide use-after-free protection.
- Shadonototra 5y agoZig is allocator aware, use after free protection is covered with the ``GeneralPurposeAllocator``
- pcwalton 5y agoIs GeneralPurposeAllocator the one that quarantines memory forever? That isn't practical, as I've mentioned before. To name one problem, allocating 1 byte in a 4kB page leaks the entire page.