3 ms·
Lifetimes are managed at runtime, somewhat like Arc, just without the ref counts. If implemented well you get an assertion if you misuse a reference (eg use aft
by slashdev 3y ago
Lifetimes are managed at runtime, somewhat like Arc, just without the ref counts. If implemented well you get an assertion if you misuse a reference (eg use after free.)
I’m fine with the trade off, but yes, it can be a source of difficult bugs.