About true and false creation

Hannes Hirzel hannes.hirzel.squeaklist at bluewin.ch
Mon Mar 3 13:14:19 UTC 2003


Chris Burkert <christian.burkert at s2000.tu-chemnitz.de> wrote:
> Bob Arning wrote:
> > On Mon, 03 Mar 2003 11:23:00 +0100 Stephane Ducasse <ducasse at iam.unibe.ch> wrote:
> > 
> >>I would like to know the precise way true is created. I looked at the 
> >>reference of True but could not find the creation of true. I know that 
> >>true is a pseudo-variable.... Is true created by the VM?
> >>How does the bootstrap is really done? Is true created before Behavior 
> >>(implication is true created using new?)
> > 
> > 
> > I'm not sure it makes sense to ask how true _is_ created since that would imply some ongoing and recurring event. It _was_ created, once upon a time, and has existed in the image since that time. As to how it was created, I'm sure Dan could tell you, but it seems to me that Smalltalk as we know it could not function without true (and a few other things ;-) ), so its creation likely predated an actual running Smalltalk image.
> > 
> > Cheers,
> > Bob
> 
> Could it be that the one and only instances of True, False and 
> UndefiniedObject were born in the 1970's ? It just has been copied 
> around with new Images ...
> 
> Regards
>             Chris Burkert


I like this thread! It is very Smalltalk-like! I imagine a Java guy
would never have the idea to think about this!

BTW Are there any pointers to  more explanations about 
	Smalltalk specialObjectsArray  
(Purple book / blue book and other references.)

I would like to make a minnow swiki entry on this.

-- Hannes



More information about the Squeak-dev mailing list