Re:D Language accepted for inclusion in GCC
by tcbawo on Wednesday June 21, 2017 @12:11PM
(#14605036)
You could implement GC in C++ using RAII (although smart pointers get you a long way). AFAIK, automatic GC is not possible with C.
[ Parent
| on HN ]
Re:D Language accepted for inclusion in GCC
by antientropic on Wednesday June 21, 2017 @12:22PM
(#14605171)
It absolutely is possible, via conservative GC: https://en.wikipedia.org/wiki/Boehm_garbage_collector