Comment by kobeya
9 years ago
Saving internal memory state to a file is such a terrible idea, who would do that!
Proceeds to go write a program to manipulate memory-mapped files.
9 years ago
Saving internal memory state to a file is such a terrible idea, who would do that!
Proceeds to go write a program to manipulate memory-mapped files.
It's a great idea, seriously. As demonstrated by the details in this article.
_But_ non-technical users do not understand how it works, which means that they were _very_ surprised to find state other than the obviously visible stuff being saved along with documents, and thus sent accidentally to recipients.
If you're going to make use of this sort of clever optimization, you owe it to your users to at least document the consequences, if not the specific implementation.
Edited: I think you read more criticism into my post than was intended on my part.
That’s what Emacs (and AFAIK, some other interactive lisp environments) do to speed up boot time.
The famous unexec function…
I know. It was sarcasm.