3 ms·
RTTI is runtime type introspection. You may be confusing it with RAII, resource acquisition is initialization. Yes, technically reference counting is not garba
by andreasvc 13y ago
RTTI is runtime type introspection. You may be confusing it with RAII, resource acquisition is initialization.
Yes, technically reference counting is not garbage collection, but in these sorts of comparisons the term is typically intended to distinguish automatic from manual memory management. The overhead of reference counting is non-trivial, that's why it's lumped with the garbage collected languages.