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
Dalija Prasnikar
Manual memory management requires some thought and ceremony. It is not so much of a problem with long-lasting instances, but managing temporary local objects, especially when you need to create more than one, is a… … Read more
4 years ago in ARC, Delphi, memory management0
Dalija Prasnikar
Marco Cantu’s recent blog post The Case of Delphi Const String Parametersopened a can of worms.A very, very old can…The presented behavior is not something new, and it is certainly not a compiler bug. It… … Read more
4 years ago in ARC, Delphi, strings0
Danny
With the release of version 10.4 Sydney, Delphi has officially moved away from the ARC memory model in the mobile compilers. This was announced in 2018, there is some nice background info in this blog… … Read more
4 years ago in 10.4, android, ARC, CTFF, Delphi, FMX, ios, sydney, tips0
Dalija Prasnikar
First, forgive me if some of my thoughts seem a bit contradictory or confusing. My brain is still steaming… and I am not sure what to think…Please, no…What took you so long…Nooooo….But before, I start… … Read more
6 years ago in ARC, Delphi, memory management0