Hacker News new | ask | show | jobs
by Shadonototra 1706 days ago
Zig is allocator aware, use after free protection is covered with the ``GeneralPurposeAllocator``
1 comments

Is 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.