Autorelease Pool, Lazy Initialization, Alternatives to Reference Counting

Yakov Manshin
The Swift Bird
Published in
Feb 21, 2024

My last video on memory management in Swift (for now) covers a few more advanced-level questions: how lazy initialization helps make your app feel faster; how autorelease pool gives you more control over objects’ deallocation; why reference counting seems like the optimal choice for apps on your phone or laptop; and what else is out there in terms of memory management (not on the Apple platforms, though).

--

--