Forth Medium · Lesson 6

Heap memory: ALLOCATE, RESIZE, FREE

Allocate growable buffers on the heap, extend them with resize, copy bytes with move, and release them with free.

Lessons · Forth Medium · Lesson 6 of 10

Heap memory: ALLOCATE, RESIZE, FREE

Allocate growable buffers on the heap, extend them with resize, copy bytes with move, and release them with free.

Illustration for Forth
Allocate growable buffers on the heap, extend them with resize, copy bytes with move, and release them with free.