4 ms·
guess that could make sense in a way. Dump all 'state' to disk, start new exe that begins by reading that state, and go from there.
by Insanity 7y ago
guess that could make sense in a way. Dump all 'state' to disk, start new exe that begins by reading that state, and go from there.
- jacobush 7y agoAnd often that state would be minimal. What character am I playing, what is the total score, stuff like that.
- akx 7y agoReminds me of how Emacs is built, with a `temacs` executable whose state is dumped to generate `emacs` which boots faster... https://www.gnu.org/software/emacs/manual/html_node/elisp/Building-Emacs.html https://www.gnu.org/software/emacs/manual/html_node/elisp/Bu...
- anoncake 7y agoThey needed that code anyway for savegames.
- ascagnel_ 7y agoIt was fine on consoles, but on PC it'd lead to some weird behavior, like the monitor switching modes as it returned to the desktop and then went back into 3D mode as the newly-launched EXE ran its init code.