developerWorks: Inside Memory Management
Nov 22, 2004, 08:30 (0 Talkback[s])
(Other stories by Jonathan Bartlett)
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
Memory management is one of the most fundamental areas of
computer programming. In many scripting languages, you don't have
to worry about how memory is managed, but that doesn't make memory
management any less important. Knowing the abilities and
limitations of your memory manager is critical for effective
programming. In most systems languages like C and C++, you have to
do memory management. This article covers the basics of manual,
semi-automatic, and automatic memory management practices.
"Back in the days of assembly language programming on the Apple
II, memory management was not a huge concern. You basically had run
of the whole system. Whatever memory the system had, so did you.
You didn't even have to worry about figuring out how much memory it
had, since every computer had the same amount. So, if your memory
requirements were pretty static, you just chose a memory range to
use and used it..."