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

Then just allocate everything on the stack and use the optional garbage collector: http://libcello.org/learn/garbage-collection


Allocating on the stack doesn't need GC.


No, but it makes it easier (more “high level”) when you don’t need to explicitly deallocate things, ever.




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

Search: