The strange case of a memory leak in a Zig program
This is a small exposition on an unexpected "memory leak" I encountered when writing a Zig program. We will mainly focus on a very simple allocation pattern and see how it causes a "leak" (you will see why I am putting it in quotes) when using a particular allocator from Zig's stdlib.Advent of Code 2022…
CYBE 🌍 March 19, 2023