News for hackers. Stuff that matters.
Re:Why I Write Games in C (yes, C) by ncmncm on Sunday September 22, 2019 @03:50AM (#21040181)
Freeing memory to the OS causes TLB cache stalls in all other threads in the process.

If the program runs for any length of time, it will probably need the same memory again, so freeing it is a pessimization.

Standard C library free() implementations very, very rarely free memory back to the OS.

There are no comments on this comment yet.