How Garbage Collection Works in Programming Languages
Auto Vs. Manual Garbage-collected Languages & their Inner Workings
0s & 1s — All About Software ✨
6 min read5 hours ago
--
Greetings from the author! If this is the first story you have come across in this series, don’t miss out on the entire 3:00 AM Tech Notes series — where I publish short and quick notes on software engineering concepts in a rather casual style. We also have several other reading lists ; don’t forget to check them out!
If you like my work and want to support it, buy me a drink on Ethereum or Bitcoin blockchain. All my 100+ articles on Medium are completely free and open for all.
Article Outline
Garbage Collection (GC) — What is It?
Working of Non-GC Languages
How Does Automatic GC Work?
Performance Analysis of GC Mechanisms
A Word On Rust
01. Garbage Collection — What is It?
A) Garbage
At first, we have to understand what “garbage” means in computing.…