3 ms·
By that measure, so do C and C++.
by Rusky 9y ago
By that measure, so do C and C++.
- tcbawo 9y agoYou could implement GC in C++ using RAII (although smart pointers get you a long way). AFAIK, automatic GC is not possible with C.
- antientropic 9y agoIt absolutely is possible, via conservative GC: https://en.wikipedia.org/wiki/Boehm_garbage_collector https://en.wikipedia.org/wiki/Boehm_garbage_collector