← projects

systems · sub-star

custom_mem_alloc

a memory allocator, built to understand what malloc actually does.


readme

A replacement for malloc written in C. It requests one large contiguous region of virtual memory from the OS up front via mmap, then hands slices of that region to the program itself — maintaining its own free list and splitting blocks on demand, with the bookkeeping overhead kept deliberately small.

signal log

built with

C
view repository →