What Building malloc Taught Me About Memory
I wrote a tiny malloc in C to learn how memory really works. Surprisingly simple, and it changed how I think about every allocation.
I wrote a tiny malloc in C to learn how memory really works. Surprisingly simple, and it changed how I think about every allocation.
Go escape analysis decides whether your variables live on the stack or the heap. Learn how it works and how to write faster Go code.