Y
Hacker News
new
|
ask
|
show
|
jobs
by
Rusky
3287 days ago
By that measure, so do C and C++.
1 comments
tcbawo
3287 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.
link
antientropic
3287 days ago
It absolutely is possible, via conservative GC:
https://en.wikipedia.org/wiki/Boehm_garbage_collector
link