Relocatable vs. Position-Independent Code (or, Virtual Memory isn't Just For Swap)

from blog Technical Journal, | ↗ original
Myth: “Virtual memory” is the mechanism that a kernel uses to make more memory available than is actually physically installed, by setting aside a disk partition for the overflow and copying pages between memory and disk as needed. I acquired this belief very early in my programming career, but it turns out that swapping pages to disk is merely...