← Back to context

Comment by gf000

1 day ago

While I am usually the one that also goes in and correct people incorrectly calling RC not a GC, the important distinction here is that Rust (and C++) has the necessary language constructs to be able to implement ref counting entirely as a library.

Which is a performance bottleneck, as the compiler is blind to library implementations and cannot optimise accordingly.

Also implementation has nothing to do with CS definition, there are tracing GC libraries for C as well.

  • I agree with your first point, and I didn't say anything contrary to your second.

    My point is about crossing the misunderstanding between the "two camps".