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

You can just ignore it all almost as long as you stick to RAII and keep customizing allocators where you need. It is quite reasonable bc you can start to code fast and later imprpve performance in the allocation patterns.

There are other ways such as customozong new/delete.



Custom allocators definitely count as thinking about memory. Possibly also RAII.


True. But pauses due to a GC also counts as thinking about memory...

Depends on your situation what you can or cannot do/afford.




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

Search: