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

Single- transferred-ownership pointers are not going away.

Reference counted pointers are not going away.

I don't care if Java programmers don't know the difference between the stack and the heap, please keep the @ syntax to save me from having to type

    void f(std::shared_pointer<my_namespace::my_object_type> const & p)
another 50,000 times in my career.


Reference counted pointers may very well be going away. See comments below. TL;DR they totally suck in multi-threaded settings.


How many times have you seen a large application grind to a halt or become unusably slow due to reference counting overhead?

Perhaps it happens sometimes, but compare that to leak-it-all-as-garbage and scan-all-the-address-space style collection.




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

Search: