Memory Management WITHOUT an Operating System
Автор: hoff._world
Загружено: 2026-07-01
Просмотров: 25665
Описание:
Embedded memory allocation is a hotly debated topic, and COMPLETELY situational. I want to expand your toolkit by introducing Bump allocators/Arenas, Memory Pools, and the allmighty static allocation.
Casey Muratori's N+2: • Casey Muratori | Smart-Pointers, RAII, ZII...
Everything is just bytes bro: • Pointer Tricks that Leveled Up my Programming
Get our dumbheap example: https://hoff.industries/files/dumbhea...
Chapters:
00:00 - Your strategy matters!
00:32 - Intro to Virtual vs. Physical Addrs
02:19 - Static allocations SHOULD BE YOUR DEFAULT
02:52 - A static function global what now?
03:58 - So how do you get malloc to work on embedded?
05:29 - Our friend the bump allocator
07:59 - Bump allocator demo
09:33 - Memory Pools (a little spicy)
11:16 - Memory Pool implementation
12:23 - Setting up a memory pool
14:53 - Memory pool no-fragmentation demo
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: