logoalt Hacker News

flohofwoe • today at 7:48 AM • 0 replies • view on HN

> This is what RAII semantics in C++ are for.

...which typically has more overhead than a good GC though and much more overhead than using arenas for lifetime management.