This talks about the "desktop" experience. My desktop is a laptop. I don't have a desk or a large external monitor. Tiling window managers don't work for me. I try to keep windows stacked in different virtual desktops, but they're getting pretty crowded. I've got Slack and Signal in one, editor and terminals in another, etc.
I work mostly with remote cloud services or headless servers via VPNs. For the cloud I rely on Firefox over networked X (something that is getting harder to support).
A single-computer desktop is no longer a realistic working environment.
I hear the old Microsoft Word save files used memory dumps, which became an undocumented nightmare of a file format.
You need total control over memory layout of the saved runtime state. No hidden fields. No pointers either - you want to be able to reload at another address. Sooner or later, you might want to add some state, and you'd need a place to put it.
That said, I have used mmap something like this, mostly so state (data) could be paged in on demand.
reply