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

If anything I’ve actually seen people using the OS’s virtual memory as a garbage collector in C and C++. Not really portable everywhere, but close enough for most people. For short-lived executables that can’t really allocate unlimited memory, it’s perfectly fine.


I've done that. But in those cases, GC would also be fine. Might even end before it collects.


oh fer sure




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

Search: