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

You can now with scoped threads, provided that you don't require mutation.


Actually, it's possible to share a &mut into a scoped threat too, and perform mutation through it. It's safe because the &mut only ever exists in one place at a time.




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

Search: