3 ms·
> Also I don't know if you can implement persistent data structures without a gc and with the rust typesystem. Well you can use Rc/Arc (that’s what Bodil’s imr
by masklinn 4y ago
> Also I don't know if you can implement persistent data structures without a gc and with the rust typesystem.
Well you can use Rc/Arc (that’s what Bodil’s imrs does for instance), but essentially yes, by design and purpose a persistent data structure has confused ownership, and thus requires a separate layer handling memory reclamation.