Hacker News new | ask | show | jobs
by Rusky 3287 days ago
By that measure, so do C and C++.
1 comments

You could implement GC in C++ using RAII (although smart pointers get you a long way). AFAIK, automatic GC is not possible with C.
It absolutely is possible, via conservative GC: https://en.wikipedia.org/wiki/Boehm_garbage_collector