Hacker News new | past | comments | ask | show | jobs | submit login

Arc<str> is an atomically ref-counted string, also quite useful in async or multi-threaded code where (unlike w/ Box) you sometimes can't know in advance which task will drop the last reference to some data.



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

Search: