3 ms·
RC alone can never be memory safe, only GC can. First: cyclic structures (just leaks). Second: wrong refcounts leading to UAF (use-after-free), in minor cases
by rurban 4y ago
RC alone can never be memory safe, only GC can.
First: cyclic structures (just leaks).
Second: wrong refcounts leading to UAF (use-after-free), in minor cases leaks.