Skip to content
0:00 / 0:00

#heap#malloc#memorymanagement

WHY IS THE HEAP SO SLOW?

Core Dumped

515K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.

Intermediate. Assumes working knowledge.

505K views2 years ago2 recommendations

Systems programmingMemory managementPerformance and optimization

An explanation of how heap memory allocation works, why it introduces overhead, and how it compares to the stack.

Join CodeCrafters and learn by creating your own: Redis, Git, Http server, Interpreter, Grep... in your favorite programming language: app.codecrafters.io/join?via=jdvillal In this video we take a look at the heap. A memory region that is feared, but it exists because is necessary... Contact email: contact.coredumped@gmail.com Suggest topics for future videos by: Following me on twitter: twitter.com/CoreDumpped Becoming a member of my channel: youtube.com/channel/UCGKEMK3s-ZPbjVOIuAV8clQ/join

Why it's here

2 people recommend this

What people say. Recommended as a helpful analysis of stack versus heap allocation performance.

u/mynameisperlin r/compsci • Recommends

On “How faster is stack allocation compareed to heap allocation?”

This was a helpful analysis: link to this video

u/FastSlow7201in r/C_Programming • Recommends

On “Heap vs Stack memory”

Watch these videos as it doesn't seem like you really understand what the stack and heap are. Stack Heap

u/OldSkater7619in r/C_Programming • Mentions

On “How variables are stored”

Variables are either stored on the stack or the heap. They can also be held in the small amount of memory in the CPU which are called registers, but it is just a copy. Variables called pointers have a value that is actually the memory address of another variable.