[Newbies] What was first: the chicken or the egg?
simbba at gmail.com
Thu Jun 29 07:12:58 UTC 2006
Thansk you, Yoshiki
Your answer is the just one that solves the puzzle in my mind.
So, I am sure you can solve another puzzle in my mind about metaclass.
All things in Smalltalk are Objects include Classes,
all Classes are instances of MetaClass.
I consider this structure bring on an advantage that we get a clean idea,
and we can make a simple VM which needn't distinguish:
1. common objects and Classes;
2. Classes and MetaClasses.
But, why metaclass structure like this:
2006/6/29, Yoshiki Ohshima <yoshiki at squeakland.org>:
> I noticed that this one only got a one-liner from Ron, but I felt to
> explain it a bit more.
> First, the better paper to refer to is:
> > In Squeak, what was first: VM or image?
> If we are specifically talking about Squeak, I'd say the image was
> the first, but could have been in the other way. The image was
> created from the Apple Smalltalk image, and the part of the Squeak VM
> was also written in the same Apple Smalltalk.
> > It is said the Squeak VM is created by itself, but how to run the first
> image file?
> > And how to creat the first image file?
> It was actually hosted in an existing (another) Smalltalk
> > I wondered whether the VM C source code should be first created?
> The first VM didn't depend on any C code, but other
> And, I think a philosopher recently declared that the egg was first
> before chicken. Following his theory, a non-chicken creature bore an
> egg, but it was a chicken-kind egg.
> -- Yoshiki
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners