为何 C++ 没有垃圾回收 Shepard-Wang

Why doesn’t C++ have a garbage collector? - Stack Overflow

C 语言实现的 GC:https://github.com/ivmai/bdwgc

参考文章

  • https://www.stroustrup.com/bs_faq.html#garbage-collection