News for hackers. Stuff that matters.
Re:Snappy-start: Tool for launching a Linux process from a s... by falcolas on Wednesday July 22, 2015 @09:17AM (#9929404)
Fascinating. Imagine being able to (re)start Java, Ruby and Python processes nearly instantly... No more interpreter startup overhead, just right into the process. There's some interesting implications for deployment as well; snapshot a containerized process on one machine, reproduce the disk elsewhere, and restart the already partitioned process.

I would think you'd need rather robust error handling in the program being snapshotted: there would be several machine states which would change from run to run.

Re:Snappy-start: Tool for launching a Linux process from a s... by stcredzero on Wednesday July 22, 2015 @12:49PM (#9930753)
What Smalltalk did to enable all of the above you mention: Certain facilities like networking had to be quiesced just prior to pickling, and then specially revived on return from snapshot. There were also special hooks for return from snapshot. (IIRC, there is a Smalltalk method of that name.)

Snapshots becomes much more powerful when combined with a transactional log of all changes. This gets around certain problems with de-synchronization of source files with the image. Smalltalks that abandoned the change-log and returned to conventional source files suffered for it. (Enfin/ObjectStudio)