3 ms·
How about: Reference counting is one form of garbage collection, but "Garbage Collection" without any additional qualifiers or context usually implies "tracing
by khedoros1 10y ago
How about: Reference counting is one form of garbage collection, but "Garbage Collection" without any additional qualifiers or context usually implies "tracing garbage collection", with or without the aid of other GC algorithms.
In common usage, I don't hear of languages like C++ described as a "garbage collecting language". That usually describes Java, Python, etc.
- pjmlp 10y agoC++ has a GC API and a few dialects that support GC like C++/CLI. Having RC library types doesn't make a language GC, because their correct use is not enforced by language semantics.