Programming Concepts: Garbage Collection
Garbage Collection (GC) is a core programming concept that many developers take for granted, and while it’s true that it mostly happens under the hood automatically these days, that’s not an excuse to ignore how it works. There are different techniques to how GC is implemented, and knowing about them will help you better understand the differences among some of your favorite languages, as well as help you debug errors such as infamous memory leaks. It’s an old-school topic that’s gonna be around for a long time — and I wrote a post to help you learn it!
https://thesocietea.org/2017/01/programming-concepts-garbage-collection/