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

I think you just proved his point on how hard it is to understand and correctly use Pin.


I agree with that assessment of Pin. That's why the second post I linked to presents a set of features that would make it as easy to use as mutability (pinning is really the dual of immutability: an immutable place cannot be assigned into, whereas a pinned place cannot be moved out of).


Pinned is life time, similar to 'static, but written as Pin!() for an unknown reason.




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

Search: