(09-15-2014, 03:57 AM)pokemontrainer Wrote: Thanks for your answers again. Why is emulating the MMU so complicated? Did the programmers manage the memory manually? When programming on Windows or whatever you just create variables and don't worry too much about where they are usually. The OS is managing the memory for you, right?
It really depends on the language. Some languages, especially older ones, you want to manually manage the memory and tell it to free up variables when possible. Other languages you don't really manage every bit individually but you do want to occasionally call manual garbage collection to free up variables. Newer high level languages like Java handle garbage collection (freeing up unused variables) completely automatically.