Showing results for tag: #memory
Jun 25, 2025
Memory Regions - Cache
#memory | #lowlevel | #cacheCache is fast, temporary memory that speeds up access to data by storing what's used most—making systems feel snappy.
Feb 23, 2025
Memory Regions - Code Segment
#memory | #lowlevel | #cacheThe code segment, or .text segment, is a read-only region of memory that contains the compiled machine code of a program.
Feb 22, 2025
Memory Regions - Static
#memory | #lowlevel | #cacheStatic memory, like a public notice board, stores global and static variables for a program's lifetime. It's efficient but can risk memory leaks and bugs.
Feb 21, 2025
Memory Regions - Heap
#memory | #lowlevel | #cacheThe heap offers flexible memory but lacks automatic cleanup. It's larger yet slower than the stack, and mismanagement can lead to leaks and performance issues.
Feb 20, 2025
Memory Regions - Stack
#memory | #lowlevel | #cacheStack memory operates in a Last In, First Out (LIFO) manner, making allocation and deallocation fast and automatic, but it has a limited size and can cause stack overflow if exceeded.