[Python-ideas] Application awareness of memory storage classes

Steven D'Aprano steve at pearwood.info
Fri May 20 06:30:17 EDT 2016


On Wed, May 18, 2016 at 01:44:12PM -0400, R. David Murray wrote:

[...]
> The main target would of
> course be the data the program wants to preserve between runs, but one of
> the examples at pmem.io is a game program whose state is all in nvram.
> If the machine crashes in the middle of the game, upon restart you pick
> up exactly where you left off, including all the positioning information
> you might consider to be part of the "hot loop" part of the program.

Wouldn't that mean you're restarting the game in the same state it was 
in just before it crashed? Which means (assuming the crash is 
deterministic) the very next thing the game will do is crash.


-- 
Steve


More information about the Python-ideas mailing list