5 ms·
Let me quote Carmack on the issue of mmapped assets so other people can see whether you're truly presenting his world view or something you just made up. On st
by clarry 10y ago
Let me quote Carmack on the issue of mmapped assets so other people can see whether you're truly presenting his world view or something you just made up.
On startup, applications would read-only mmap their entire asset file [..]
Splash screens and loading bars vanish. Everything is just THERE.
You could switch through a dozen rich media application with a gig of resources each, and come back to the first one without finding that it had been terminated to clear space for the others [..]
It will save power. Hopefully these are the magic words. Lots of data gets loaded and never used, and many applications get terminated unnecessarily to clear up GPU memory, forcing them to be reloaded from scratch.
- justin66 10y agoThere are some well founded reasons to be skeptical about this at first glance, until you realize that we are moving toward a world where hardware supports having CPUs and GPUs in the same address space (and the support is there on some mobile devices and HSA-supporting desktops). Expanding support for these traditional VM techniques to use the hardware to its fullest only makes sense.