4 ms·
> Many other GCed languages, such as swift Swift is not garbage collected, it uses reference counting. So, memory there is freed immediately when it is no long
by sweetjuly 1y ago
> Many other GCed languages, such as swift
Swift is not garbage collected, it uses reference counting. So, memory there is freed immediately when it is no longer in scope.