Possible Duplicate:
What is the origin of the term “heap” for the free store?
Why is the heap called the heap? I mean the bit of memory which we dynamically allocate bits of.
Possible Duplicate:
What is the origin of the term “heap” for the free store?
Why is the heap called the heap? I mean the bit of memory which we dynamically allocate bits of.
I don't have a citation for this, but I've always believed it derives from "a place to put stuff; a bit like the stack only less organised".
A stack has strict rules about where you add and remove things, but a heap doesn't.