|
|
|||
|
|
|
||
|
Posted by Guy Lecky-Thompson Jun 30, 2006 |
Since computers were first invented, memory management has been at the forefront of development issues. How programmers manage blocks of memory that extend beyond 'reasonable' limits is an issue that has never really gone away.
Originally the problem was worked around by segmenting the memory, referring to each chunk with a segment:offset notation. This was reasonably complex, until Windows came along and changed things a little by giving programmers access to a more advanced memory management API.
Luckily, these days, most operating systems use a flat model, in which all memory is available to programmers by using some easily grasped techniques. These are at the core of this latest article in the C programming series.
The complete article can be found here : C Memory Management with Malloc.