3 ms·
Wait, you are implying this is some kind of algorithmic 'solution' to a long standing problem. It's not. This is notable because it's an implementation that w
by ltbarcly3 1y ago
Wait, you are implying this is some kind of algorithmic 'solution' to a long standing problem. It's not. This is notable because it's an implementation that works in C++. The 'concept' of tracking allocations in a lexical way is trivially obvious.
- lerno 1y agoIt is a problem for manual memory management. I am not quite sure where you're coming from. In Modern C++ this is managed by RAII, but if you instead look at C there is no solution that doesn't involve various additional code. You seem the same in "C alternatives" such as Zig. But obviously if you're coming from a language which already has some form of automatic memory management it won't seem like a big thing. But in the context of manual memory management it is solving a very real problem.
- lerno 1y ago*see