News for hackers. Stuff that matters.
Re:New Chrome features to save battery and make browsing smo... by masklinn on Saturday December 10, 2022 @07:09AM (#33931886)
1. it's a ton of data

2. it's very messy data, it's a bunch of seas of nodes (the DOM, the JS heap, the styling info, etc...)

3. I wouldn't be surprised if it was data which isn't fully isolated (e.g. shared style caches), meaning it first has to be fully forked to resolve into a self-contained bundle

OS have the ability to just freeze and store / restore memory, but I'm not sure they give that capability to use processes.

Re:New Chrome features to save battery and make browsing smo... by andai on Saturday December 10, 2022 @07:35AM (#33932065)
If I'm not mistaken, the original Word document file format was a RAM dump.
Re:New Chrome features to save battery and make browsing smo... by masklinn on Saturday December 10, 2022 @08:07AM (#33932288)
Sure, so were save files for many older games, but it was a dump of the document / game state, which was a fraction of the running program, and probably designed for that in mind in the first place.

Image-based systems (smalltalk, self) would probably be a better model for a live tab, but it still requires things to line up.