Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I was expecting it to be a few extra keystrokes around my types, but I still ended up having to deal with the borrow checker when I would put something into an Rc or take it out to pass into some other function.

I'd be interested to hear where you experienced difficulty, specifically. `Rc<T>` is `Deref<T>`, so you should never have any problems calling borrowing APIs. Owning APIs require an explicit borrow-and-clone, but that's just two calls (`as_ref().clone()`).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: