Synapse Open Synapse
Tech

What is malloc doing, anyway?

Lobsters · · 15 min read

malloc has a very nice and simple interface: you ask for a certain amount of memory, and you’re given a void pointer to your block of contiguous bytes that’s been magicked into existence. Once you’re done with it, you call free with the same pointer and the memory disappears into the ether.

Same story elsewhere

Latest from Lobsters