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

It doesn't require care. By default you just put stuff on the stack in C++. You have to go out of your way to use things like ref counting.



for complicated stuff involving multiple threads and shared memory, it's good to plan it out in advance in some way. but you are right that most data can just get stack allocated

if you look at their code it's like they have no clue that the stack even exists. seriously. they heap allocate EVERYTHING




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: