Memory Management WITHOUT an Operating System
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

What is a token and why does it cost so much? - Computerphile

NO BLOAT! Fixing Windows, one application at a time...

How 1999 Quake 3 Teaches Elite Software Engineering

Home made GPU escalated quickly

Full Project: STM32 Bare Metal Software from scratch

Pointer Tricks that Leveled Up my Programming

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

COMPLETE EMBEDDED SYSTEMS Roadmap - What Arduino Won't Teach You

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

I Built My Dream Power Bank | CNC Aluminum

Android 17 sucks. So I put Linux on a phone.

The Theoretical Limit of Image Compression

Building Type Agnostic C Libraries

I Quit Arch Linux After 794 Days (Here's Why)

How to Actually Learn C (2027 Edition)

Programming in Assembly without an Operating System

Before You Trash Your Old PC Power Supply... Build This!

The slop must stop

This Math Problem is Probably Going to Court

