2 ms·
> nobody except you is suggesting [avoiding all use of virtual memory] https://news.ycombinator.com/item?id=19807322 https://news.ycombinator.com/item?id=19807
by a1369209993 8y ago
> nobody except you is suggesting [avoiding all use of virtual memory]
https://news.ycombinator.com/item?id=19807322 https://news.ycombinator.com/item?id=19807322
> Anonymous mappings
> typical apps should avoid mmap whenever possible
All virtual memory is either a user-mode wrapper around mmap, or sbrk (which is functionally a kernel-mode wrapper around mmap).
- _wmd 8y agoThis simply won't die, will it? I mean, while we're at it, let's advocate abandonment of all higher level languages because essentially they all boil down to machine code, and nobody could recommend working directly with machine code any more, could they. (But that would be a sweeping generalization)
- tntn 8y ago> This simply won't die, will it? Please clarify how you think that statement is incorrect. As far as I'm concerned, it won't die because that's how virtual memory works, and you have something going on in your head that is either wrong or massive hairsplitting. I would have expected a better understanding from someone bloviating about how the try of the commenters are too thick to understand mmap and virtual memory.