Welcome to Shaun Luttin's public notebook. It contains rough, practical notes. The guiding idea is that, despite what marketing tells us, there are no experts at anything. Sharing our half-baked ideas helps everyone. We're all just muddling thru. Find out more about our work at bigfont.ca.
Contents tagged with memory-management
Short Definition: The stack is where functions store their value type data.
Each thread receives its own stack. A stack contains discrete blocks of RAM memory. The runtime allocates blocks to functions in first-in-first-out order. On invocation, a function receives a block … more
Short Definition: The heap is where objects store their value type data.
Each application (aka process) receives its own heap A heap contains discrete blocks of RAM. The runtime allocates blocks to objects in an unenforced pattern. On creation, an object receives memory … more