Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!DINO.BBN.COM!kanderso From: kanderso@DINO.BBN.COM Newsgroups: comp.lang.clos Subject: Re: Persistent Objects in CLOS Message-ID: <9012111515.AA26764@cheops.cis.ohio-state.edu> Date: 11 Dec 90 15:42:09 GMT References: <18439@hydra.gatech.EDU> Sender: welch@tut.cis.ohio-state.edu Distribution: inet Organization: CommonLoops Lines: 17 Date: 10 Dec 90 23:19:57 GMT From: "SRINIVASAN,K" Organization: Georgia Institute of Technology Subject: Persistent Objects in CLOS To: commonloops@cis.ohio-state.edu What will be the best way to save all the objects created during a run of a program? I suppose certain languages such as Eiffel allow you to do it using persistent objects. I plan to use CLOS for simulation of a manufacturing system. I would like to save all my parts and machines at any instant and restart the simulation from there again. This may involve thousands of objects (instances). I will be very thankful to anybody who can share their experience with me or indicate as to where I should be lo ok In simulations i have done like yours, simply dumping the objects to a file has worked fine. This will let you save the state of a simulation and restart it. Your LISP documentation should show you how to do this. ing. (If any of you think CLOS is not a good choice for my task, I would like to know the reasons too). CLOS is a fine choice.