Yakov Manshin

Advanced Memory Management in Swift (Part 2)

Alternatives to Reference Counting, Autorelease Pool, Lazy Initialization

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).

More