5 ms·
> pass around the allocator to every function that allocates to the heap. what prevents a library from taking an allocator, saving it hidden somewhere and usin
by dmytrish 1y ago
> pass around the allocator to every function that allocates to the heap.
what prevents a library from taking an allocator, saving it hidden somewhere and using it silently?