Re:The history of Unix's confusing set of low-level ways to ...
by bodhiandphysics on Tuesday November 02, 2021 @09:42PM
(#29090140)
As far as I can tell, the term heap comes from Algol 68. Algol 68 had garbage collection, and used mark and sweep. Mark and sweep works by searching memory like a tree, starting at the stack, so Algol 68 called this memory heap memory (at this point, heap was often used to just mean any tree). Languages like pascal and c also began calling their dynamic memory region the heap.
[ Parent
| on HN ]
There are no comments on this comment yet.