4 ms·
> Linux, Mac, windows. But not Android, iOS or iPadOS. (And for good reason - these OS's run on devices that use bottom-of-the-barrel flash storage and can't
by 0815test 7y ago
> Linux, Mac, windows.
But not Android, iOS or iPadOS. (And for good reason - these OS's run on devices that use bottom-of-the-barrel flash storage and can't sustain the wear-and-tear that comes with using swap.) That's not "literally every major OS"!
- falcolas 7y agoInstead, they suspend applications to the self-same flash storage when the the application is not being actively used and there is memory pressure. Doesn't seem a lot different from swapping the memory to disc until its accessed again. Not to mention, it's kinda irrelevant to a discussion of electron applications.
- 0815test 7y agoThey don't "suspend applications". They can prompt an application to serialize an image of its "core" memory for storage on the flash media and to subsequently restore its state from the serialized memory dump, but very few applications are written to do the job properly.