Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What I find to be a rather interesting tidbit related to this is that some applications (e.g. certain garbage collectors) map multiple ranges of virtual memory that address the same physical memory.


That’s how you can create a gapless ring buffer: <https://learn.microsoft.com/en-us/windows/win32/api/memoryap...> (see scenario 1 in examples).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: