On Mar 19, 2011, at 9:40 PM, Aaron Olson wrote: > Hi folks, > > A couple of weeks ago I came across this tweet from notable > Smalltalker Avi Bryant: > > https://twitter.com/#!/avibryant/status/43543305820180480 > > Apparently some people replied that Factor does, because soon after he > said this: > > https://twitter.com/#!/avibryant/status/43556586542727168 > > Was this a deliberate decision in Factor's design? Is it simply a > limitation or are there trade-offs involved? What would it take to > support such snapshots in Factor? Is it desirable?
Resuming an entire program is tricky. While the Factor VM knows how to freeze the Factor heaps and thaw and revive them, on its own, it doesn't know how to recreate the UI resources, network connections, and other externalities a real program depends on. Programs can register startup hooks to perform these sorts of (re)initialization tasks, but it's not automatic. A program in Factor could potentially support a full resume, if all its libraries properly register startup hooks to recreate their external dependencies, and the program saved a continuation object to be resumed from the saved image. -Joe ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk