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

Right, but there's a runtime cost associated with it, unlike the borrowed pointer in the rust version. Using shared_ptr is not "toeing the line", it's stepping back from the line in fear you will cross it.



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

Search: