05-May-2014 20:57, Marco Leise пишет:
That sounds like a more complicated topic than anything I had in mind. I think a »std.virtualmemory« module should already implement all the primitives in a portable form, so we don't have to do that again for the next use case. Since cross-platform code is always hard to get right, it could also avoid latent bugs.
I had an idea of core.vmm. It didn't survive the last review though, plus I never got around to test OSes aside from Windows & Linux.
Comments on initial design are welcome. https://github.com/D-Programming-Language/druntime/pull/653 -- Dmitry Olshansky