No, we actually feel pity that none of you got the balls to McKinley your problem.
No, we actually feel pity that none of you got the balls to McKinley your problem.
That's what triggers me. I cannot fathom how many copies the thing does in the background.
That's what triggers me. I cannot fathom how many copies the thing does in the background.
Cute.
Cute.
2. Which claim exactly? About what programs need? Have you ever traced applications - Windows, Linux, doesn't matter - and see them allocate and free memory blocks of the same size in quick succession? Windows does it all the time, in fact.
2. Which claim exactly? About what programs need? Have you ever traced applications - Windows, Linux, doesn't matter - and see them allocate and free memory blocks of the same size in quick succession? Windows does it all the time, in fact.
bsky.app/profile/cerr...
"could've had" is clearly conjunctive mood in response to "portable general-purpose memory allocation". malloc is portable by standard, mmap/VirtualAlloc aren't, mreserve/mcommit could've.
2. Counterquestion: why do you assume malloc/calloc are the only way portability can be achieved? mmap/VirtualAlloc have very similar interfaces (if you ignore that mmap is also used for file mappings). We could've had mreserve/mcommit for such purposes ...
bsky.app/profile/cerr...
"could've had" is clearly conjunctive mood in response to "portable general-purpose memory allocation". malloc is portable by standard, mmap/VirtualAlloc aren't, mreserve/mcommit could've.
Fourth, one can overlay normal mappings with PROT_NONE ones to simulate Windows' reserve/commit semantics.
Fourth, one can overlay normal mappings with PROT_NONE ones to simulate Windows' reserve/commit semantics.