Stef,

Dolphin's solution is to use proxies.  Rather than serializing the class 
itself, one might prefer to serialize a proxy that knows enough to find the 
appropriate object once it "wakes up" in the new image.  In the case of a 
class, it should be enough to know the name, so the proxy would have that one 
aspect and it would resolve itself by looking for it in the system dictionary.  
There is a little more to it, but that is the basic idea.

Bill


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Stéphane 
Ducasse
Sent: Thursday, April 01, 2010 3:03 PM
To: [email protected] Development
Subject: [Pharo-project] serializing a class

Hi 

I would like to do a little experiment.
I need to save a class (not the instances) in a binary format and I was 
wondering if somebody got experience with that.

Stef
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to