Subj : Re: Question To : comp.programming From : robertwessel2@yahoo.com Date : Wed Sep 28 2005 09:23 pm Willem wrote: > Dave wrote: > ) I think Windows reads the entire executable file into memory, then > ) attempts to load any dependent DLLs, before it starts to execute it. > > I'm not sure, but I think most Unixes on the other hand simply map the file > on disk to some virtual memory and have the pager handle the actual reading > from disk. For this trick to work, the pager needs to handle copy-on-write > pages, of course. But it's quite advantageous because you reduce swap use. Windows to, so long as he doesn't need to relocate the executable image. .