In-depth Exploration of Garbage Collector (GC)

Héla Ben Khalfallah
ITNEXT
Published in
33 min readMar 31, 2024

--

Algorithms, trade-offs, and real-life applications

Overview of a collection cycle

Introduction

In traditional programming languages like C or C++, developers are responsible for explicitly allocating and deallocating memory for objects and data structures.

However, manual memory management can be error-prone, leading to bugs such as memory leaks (where…

--

--

Writer for

I love coding whatever the language and trying new programming tendencies. I have a special love to JS (ES6+), functional programming, clean code & tech-books.