Stack vs. Heap — Programming Concepts, Explained
← all concepts
01

Stack vs. Heap

{{ stepCounter }}

{{ caption }}

> {{ command }}
Stack
fast, fixed-size, auto-cleaned
Heap
flexible, lives until unreferenced
{{ frameLabel }}
{{ v.name }} {{ v.value }}
{{ blobLabel }}
{{ blobContent }}