1 Oct 02:14
re: Squeak 4
Craig Latta <craig <at> netjam.org>
2008-10-01 00:14:55 GMT
2008-10-01 00:14:55 GMT
Hi Markus-- > I'm sorry if I'm annoying(Continue reading)Not at all! :) > > Every version of every module, author, class, and metaclass has a > > UUID. Methods are uniquely identified by a combination of a class or > > metaclass version and a selector. Names are never needed to transfer > > behavior between systems. > > This was something when I first - with my modes knowledge - tried to > do some bytecode serialization within squeak. I ended up in > serializing half of the image half of the times, trying to walk down > the dependencies between classes, behavious, constants and pool > dictionaries. I think the literal marker framework in Spoon keeps that from happening (a way to refer to a method literal algorithmically, without copying it). > Is there a methodology to identify identical behaviors/objects even if > identified by different UUIDs? Well, generally a UUID is used to refer to an object over time. To refer to the object at a particular moment in time, other information is added to the UUID (e.g., a version number). For example, an author ID has a UUID and a version number, and a class ID has a UUID, an author ID, and a version number.
Not at all! :)
> > Every version of every module, author, class, and metaclass has a
> > UUID. Methods are uniquely identified by a combination of a class or
> > metaclass version and a selector. Names are never needed to transfer
> > behavior between systems.
>
> This was something when I first - with my modes knowledge - tried to
> do some bytecode serialization within squeak. I ended up in
> serializing half of the image half of the times, trying to walk down
> the dependencies between classes, behavious, constants and pool
> dictionaries.
I think the literal marker framework in Spoon keeps that from
happening (a way to refer to a method literal algorithmically, without
copying it).
> Is there a methodology to identify identical behaviors/objects even if
> identified by different UUIDs?
Well, generally a UUID is used to refer to an object over time. To
refer to the object at a particular moment in time, other information is
added to the UUID (e.g., a version number). For example, an author ID
has a UUID and a version number, and a class ID has a UUID, an author
ID, and a version number.
.
> DEVELOPER IMAGES
> You load quite a number of packages into the dev images as you write in
>
RSS Feed