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

Custom allocators are a relatively niche topic, and I agree that library users cannot be expected to customize memory behaviour to that level of detail (especially if the library users typically are not professional developers).

However, a certain level of proficiency must be expected, and in the case of C++ this includes "know when to use const&, unique_ptr<T> or shared_ptr<T>". If this cannot be expected of the user, the comparison becomes less a question about performance and more about which language is the best at being the lowest common denominator.



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

Search: