Writing a toy allocator in 200 lines of C
It looks trivial from a distance — bump a pointer, hand back the bytes. Up close it is all alignment, fragmentation, and the cost you only see once you measure.
It looks trivial from a distance — bump a pointer, hand back the bytes. Up close it is all alignment, fragmentation, and the cost you only see once you measure.
Tail latency is the number everyone quotes and almost nobody computes correctly. A short tour of coordinated omission and the averages that hide it.