Hacker News new | ask | show | jobs
by flohofwoe 37 days ago
> 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.