It even has a playground! https://samwho.dev/allocator-playground/
How I wish I had something like that when I first learned C.
How I wish I had something like that when I first learned C.
Admittedly the playground is hard to understand at first, and a touch janky in places. But the workloads are taken from for-real malloc/free traces on programs!
Especially because you can scroll through all the steps.