Hacker News new | ask | show | jobs
by tmtvl 1318 days 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...
2 comments

RefCell<T> and weak references are two different things, but rust has both, yes.
Now imagine writing the drop implementation for a DLL that doesn't cause a stack overflow.