← Back to context Comment by nemetroid 1 year ago By that definition, a C++ program with heavy usage of std::shared_ptr has GC. 3 comments nemetroid Reply cmrdporcupine 1 year ago And it does. Reference counting is garbage collection. And std::shared_ptr, or Rust's Rc/Arc are basically lightweight GC runtimes inside your program. coldtea 1 year ago Isn't that the point? nemetroid 1 year ago I don't think it's the point of the comment I replied to, no.
cmrdporcupine 1 year ago And it does. Reference counting is garbage collection. And std::shared_ptr, or Rust's Rc/Arc are basically lightweight GC runtimes inside your program.
coldtea 1 year ago Isn't that the point? nemetroid 1 year ago I don't think it's the point of the comment I replied to, no.
And it does. Reference counting is garbage collection. And std::shared_ptr, or Rust's Rc/Arc are basically lightweight GC runtimes inside your program.
Isn't that the point?
I don't think it's the point of the comment I replied to, no.