Comment by zozbot234
9 months ago
If you're genuinely unsure about the ownership model (this is pretty rare in practice though) you can just use Rc<>/Arc<> (which allow for shared ownership via refcounting) and be no worse off than if you were coding in Swift.
No comments yet
Contribute on Hacker News ↗