5 ms·
Couldn't there be a middle ground that allows you to restart/reset a single application?
by joshuajomiller 5y ago
Couldn't there be a middle ground that allows you to restart/reset a single application?
- kstenerud 5y agoThat's likely already baked in, but then you end up with an infrequently run bootstrap code path, and "resetting" an app basically means nuking all of its data (some of which might be important to you). This is why we have a clear delineation between persistent and ephemeral state.
- fsflover 5y agoSounds like Qubes OS with disposable VMs.
- PretzelPirate 5y agoThe FAQ calls this out as a way to recover from a bad state. It seems to already be implemented in the OS.
- theamk 5y agoBut without explicit serialization/de-serialization code, restarting an app will lose all the related data. So if your text processor crashes, your documents go bye-bye.