Dhruvan Naidudhruvan.hashnode.dev·Dec 9, 2024Understanding JavaScript Garbage Collection Under the HoodJavaScript, being a high-level programming language, simplifies memory management for developers by automatically allocating and freeing memory through a process called garbage collection (GC). While it seems effortless on the surface, the mechanisms...Discussunderstanding garbage collection
Harsh Mangeharshmange.hashnode.dev·May 27, 2024Exploring the Mark and Sweep Method in Garbage CollectionGarbage collection (GC) is an essential feature in many modern programming languages, ensuring efficient memory management by automatically reclaiming memory allocated to objects no longer in use. One of the most foundational and widely used garbage ...Discuss·286 readsmark and sweep
Gaurav Goswamigauravgoswami.hashnode.dev·Apr 5, 2024Memory Management In JavaScriptManaging memory manually like we do in C and in some other languages is really painful but in JavaScript we don't have to do that manually that's why JavaScript is a garbage-collected language. In C we can use functions like malloc, free, calloc and ...Discuss·96 readsJavaScript
Shivansh Narayanaveragesde.hashnode.dev·Jun 18, 2023Java Garbage Collection | Part-1One of the many things that make Java special is its automatic garbage collection. As an application developer using Java, this comes in very handy as you don't have to think about memory leaks (for the most part) For me, GC and JVM used to be like a...Discuss·249 readsJava