3 ms·
From what I remember Rust has some kind of RefCell with weak references. Those could be used to make DLLs, if anyone can find a reason to use those. That said
by tmtvl 4y ago
From what I remember Rust has some kind of RefCell with weak references. Those could be used to make DLLs, if anyone can find a reason to use those. That said, you could also use zippers...
- slaymaker1907 4y agoNow imagine writing the drop implementation for a DLL that doesn't cause a stack overflow.
- steveklabnik 4y agoRefCell<T> and weak references are two different things, but rust has both, yes.