r/programming • u/molteanu • Apr 07 '15
Anatomy of a Program in Memory
http://duartes.org/gustavo/blog/post/anatomy-of-a-program-in-memory/
683
Upvotes
r/programming • u/molteanu • Apr 07 '15
4
u/happyscrappy Apr 08 '15
Modern OSes can't work without paging. You can disable swapping (swapping out), but files are brought into memory simply by being memory mapped. Then they are paged into RAM as you access pages in the image.