How Does Garbage Collection Work in Python

Photo by Gary Chan on Unsplash

Several decades ago, computer memory was extremely scarce. Initially, the entire RAM of a computer was measured in kilobytes, and when the Intel 286 processor came out in 1982, it could address a whopping 16 megabytes of RAM. In those days, programmers had to worry about memory a lot, so the programming languages at the time all mandated manual memory management. This meant that they had to manually allocate a…



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store