unix15 min read
What is malloc doing, anyway?
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.
By benmandrew.com via thassoLobsters

Read the full story
Originally published by Lobsters on Nov 9, 2026.
Comments
Sign in to join the discussion.