ugh. it seemed so obvious to simply Use An Arena... until you need to reallocate...
yosh @Yoshi@wetdry.world
ugh. it seemed so obvious to simply Use An Arena... until you need to reallocate anything at all (see: dynamic arrays)
a global allocator is just so convenient for every use case. wrap it in "arena-style" management where you have a linked list of allocations you've done and the lifetime problem is mitigated heavily. but it becomes slow.