Y
Hacker News
new
|
ask
|
show
|
jobs
by
tcbawo
3286 days ago
You could implement GC in C++ using RAII (although smart pointers get you a long way). AFAIK, automatic GC is not possible with C.
1 comments
antientropic
3286 days ago
It absolutely is possible, via conservative GC:
https://en.wikipedia.org/wiki/Boehm_garbage_collector
link