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

Box/RefCell are gonna be way harder than just ".clone()" or not sharing mutable references all over the place.


Well it's the only way to bypass borrow checker as fas as I know. And I assume teaching you a bad habit, then un-teaching it is going to be more expensive than not.

I guess another way could be by using Copy-able structs is anohther way.




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

Search: