Jargon

Tech words, plain meanings. Click a letter, or scroll.

H

Heap

A big free space. Ask for memory, use it, give it back.

Not a pile — a warehouse. You request a spot, you get a key. Forget to return the key, the space is lost forever.

  malloc ──> [ . . . . ]   got a slot
                  │
                  ▼
              use it
                  │
                  ▼
  free   ──> [         ]   returned
P

Pointer

An address. Tells you where a value lives, not the value itself.

Think of it as a house number. The number isn’t the house — it just tells you where to find it.

x ──> [ 42 ]
      0x1a2b

x holds the address.
0x1a2b is where 42 actually lives.
S

Stack

A pile. Last one on is the first one off.

Like stacking plates. You can’t grab the bottom plate without lifting the ones above it.

push ──>  ┌───┐
          │ C │  <- top
          ├───┤
          │ B │
          ├───┤
          │ A │  <- bottom
          └───┘
                <-- pop takes C first