Re: Problems completely understanding memory management.
Posted: Mon Aug 13, 2012 3:37 am
instead of picturing dishes being placed on top of one another, try picturing rooms 1-100 in a hallway with a stick in front of door 78. you need 3 rooms to put stuff in for a day or so so you walk down the hall to the stick, you put your stuff in rooms 78,77,76 and you put the stick in front of room 75. when you come back the stick should be in front of room 75, and you know that above that is the 3 rooms you put your junk. your take your stuff and you put the stick back in front of room 78. by using this stick you need not remember a room number because next month when you need another 3 rooms it might not be the same ones. the main requirement for this setup is that taking things out of the rooms happen in the exact opposite order so the stick positions are correct. if this is not done, you have a corruption of the stack.requimrar wrote: Well yes… but it's kinda hard to imagine a stack that expands downwards… physically. Is it simply a matter of reversing the gravitational direction? :p