|
|
|
|
|
by simjnd
262 days ago
|
|
You can if you want. You can write your own allocator that never actually touches the heap and just distributes memory from a big chunk on the stack if you want to. The point is you have fine grained (per function) control over the allocation strategy not only in your codebase but also your dependencies. |
|
You missed the point that libraries can have their own allocators and don't expose customisation points.