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

This still raises the question of why Arc is purportedly used so heavily. I've written 100s of kLoC of modern systems C++ and never needed std::shared_ptr.


For the same reason Unreal uses one.

Large scale teams always get pointer ownership wrong.

Project Zero has enough examples.




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

Search: