Memory management
Strategy for allocating and deallocating a computer's memory during program execution—manual, automatic, or hybrid.
Early languages often required manual memory management, where the programmer explicitly allocated and freed memory. This was error-prone—memory leaks and use-after-free bugs were common. The Lisp family introduced garbage collection in the late 1950s, where the runtime automatically identified and reclaimed unused memory. Smalltalk-80 relied entirely on GC. C kept manual control for performance. Modern times are hybrid: C++ has destructors and smart pointers, Java and Python are fully automatic. The choice affects performance, developer ergonomics, and the ability to build long-lived systems.