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

Why would you have to switch languages? There are no languages with 'no GC', there are only languages with no GC by default.

Take C - you can either manually manage your memory with malloc() and free(), or you can #include a GC library (-lgc is probably already on your system), and use GC_malloc() instead. Or possibly mix and match, if you're bold and have specific needs.

And if ever some new revolutionary GC method is developed, you can just replace your #include. Cutting-edge automatic memory management forever.

 help



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

Search: