0Pricing
Mojo Academy · Lesson

Owning Heap Buffers

Allocate and free memory you control.

Taking the Wheel

Sometimes you want direct control over a block of heap memory. Owning a buffer means you allocate it and decide when it goes away. 🛠️

What a Buffer Is

A buffer is a contiguous chunk of heap memory holding many elements in a row, like the storage behind a list of numbers.

All lessons in this course

  1. Stack vs Heap, Simply
  2. Pointers Without Fear
  3. Owning Heap Buffers
  4. Avoiding Common Memory Bugs
← Back to Mojo Academy