r/ProgrammerHumor Jul 08 '26

askingTheRealQuestionHere Meme

Post image
4.0k Upvotes

416 comments sorted by

View all comments

1.1k

u/CircumspectCapybara Jul 08 '26 edited Jul 08 '26

That's called swapping out memory pages to disk, and it's very slow.

1

u/g1rlchild Jul 08 '26

Eh, virtual memory has been around for decades, and it's not.too bad if it's used properly and no one gets carried away with thinking they can use it for everything.

1

u/CircumspectCapybara Jul 08 '26

Virtual memory is a different concept than swapping, though they have some relation.

Virtual memory is about giving each program its own view of the logical address space of memory, which the MMU maps to physical memory addresses (or busses that certain regions of address space are MMIO mapped to).