News for hackers. Stuff that matters.
Re:Satya Nadella just fixed Microsoft’s biggest problem by faragon on Friday July 15, 2016 @12:49PM (#12102269)
This one's pretty obvious if you've ever written a malloc. Compare VirtualAlloc² with the mess of mmap/madvise/mprotect. I'm not even sure you can get the nice explicit reserve/commit of Windows with pure POSIX APIs.

Then, can you explain why the C library provided by Microsoft in their compilers has such slow 'realloc()' implementation? (e.g. expanding a 10MB allocation to 20MB using realloc())

There are no comments on this comment yet.