Zig in Depth: ArenaAllocator

NOTE: This series only covers Zig 0.11.0! Help me create more content like this! https://www.paypal.com/donate/?hosted... If you have a short-lived process that makes many allocations and can benefit from freeing them all at once at the end, the ArenaAllocator is the choice for you. In this episode we compare the ArenaAllocator to the GeneralPurposeAllocator with a simple linked list implementation that uses both to see which one performs better in this type of short-lived context. The code: https://codeberg.org/dude_the_builder... Relevant Links: https://ziglang.org/documentation/0.1... https://ziglang.org/documentation/mas... https://ziglang.org/documentation/mas...