Re:Ruby Gets An Official Spec: Heading To Become An ISO Inte...
by stcredzero on Tuesday December 08, 2009 @12:55PM
(#984184)
Not hardly. When a Smalltalk image comes back, it's in the exactly the same state as it was when it took a "snapshot" then quit. Can't say the same for a Unix box.
There are some deliberate modifications. Like the "command line" array is whatever the command line was when the VM was re-invoked. Sockets deliberately aren't active for security reasons. But where the state isn't exactly the same, it's for a specific reason.
Even processes (green threads) are frozen halfway through, and continue chugging along when we return from snaphot!
You could sort of say the same thing about C, except that the "image" is a *nix partition.