Better HN
topnewbestaskshowjobs
Log inSign up

tychob

2 karma · joined Feb 19, 2017 (9y ago) · 1 submissions

Submissions

comment 9y ago · link · parent

The key thing here is the separation of memory protection from memory addressing. Virtual memory addressing is a required abstraction to deal with stuff like paging. Memory protection does not need to be tied to addressing, and once you do that you can basically get this buffer abstraction that you are describing.

The buffers are just chunks of the global address space that this process has been allowed to access. Processes already deal with a similar abstraction, what does mmap return but a buffer of memory? The only difference from the point of view of writing software is that pointers in shared memory start to work better.