u/freaxjein r/compsci • Recommends
On “How faster is stack allocation compareed to heap allocation?”
This yt vid explains it very well:
link to this video
The guy's channel has a lot of very good vids like that: link to this video
#stack#callstack#memorymanagement
515K subscribers • 3 videos on Hallway
Intermediate. Assumes working knowledge.
316K views2 years ago2 recommendations
Systems programmingMemory managementPerformance and optimization
An explanation of the mechanics of the call stack and why stack allocation is extremely fast compared to the heap.
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 Stack, which sometimes is called Hardware Stack, Call Stack, Program Stack.... Keep in mind that this is made for educational purposes, so many of the information is oversimplified for easy understanding.What people say. Recommended as an excellent explanation of stack memory allocation and low-level performance.
u/freaxjein r/compsci • Recommends
On “How faster is stack allocation compareed to heap allocation?”
u/FastSlow7201in r/C_Programming • Recommends
On “Heap vs Stack memory”
u/OldSkater7619in r/C_Programming • Mentions
On “How variables are stored”