[squeak-dev] Re: Re: Creating an image from first principles
Klaus D. Witzel
klaus.witzel at cobss.com
Wed Jul 9 06:53:10 UTC 2008
On Tue, 08 Jul 2008 19:41:44 +0200, Eliot Miranda wrote:
> On Tue, Jul 8, 2008 at 12:08 AM, Klaus D. Witzel wrote:
...
>> Even when doing the blueprint trick, what remains to be done is
>> simulating
>> additions to the method dictionary.
>
>
> Let me try again (clearly too early in the a.m.)
>
>
> In the image (not in the simulator) create proxy objects for the
> selectors
> in the simulator heap that answer the identity hashs of the objects in
> the
> simulator heap. Create a method dictionary in the image populated with
> the
> proxy objects. The order of the objects in the image method dictionary
> is
> the correct order for the method dictionary in the simulator.
>
> In general if you want to perform a computation on objects in the
> simulator
> heap before you've bootstrapped the code to perform the computation,
> create
> proxy objects in the image and run the computation on them. Right?
Yeah, right. This is the Smalltalk way of doing things, thank you :)
More information about the Squeak-dev
mailing list
|