Dalija Prasnikar
In the two-part post series, The purpose of weak references – Part I and The purpose of weak references – Part II, I wrote about the purpose of weak references in automatic reference counting, as… … Read more
2 years ago in Delphi, memory management, Weak0
Dalija Prasnikar
In the first part of this post series, I covered owning and non-owning references under manual memory management, and the purpose of non-owning (weak) references in that memory model. Following the same use cases, we… … Read more
2 years ago in ARC, memory management, Strong, Weak0
Dalija Prasnikar
The terminology “weak and strong references” is commonly used in the context of automatic reference counting. In the context of manual memory management, we talk about ownership, and owning and non-owning references. While the terminology… … Read more
2 years ago in ARC, memory management, Strong, Weak0