the.com/garbage collector

the janitor inside your program, quietly sweeping up memory you forgot you littered.

means an automatic system that finds and frees memory no longer being used by a program, so the programmer does not have to.

from coined in 1959 by john mccarthy while designing lisp, which needed a way to reclaim memory from discarded list structures without manual bookkeeping.

for instance

java hotspot gcpowers most enterprise servers, tunable with dozens of flags

go's concurrent gcdesigned since 2009 to keep pause times under a millisecond

python's refcountingfrees objects the instant their reference count hits zero

v8 orinocochrome's engine, splits collection across threads since 2018

the.com/
what’s happening now · the.com · generated