[squeak-dev] Re: Issue with traits
Andreas Raab
andreas.raab at gmx.de
Fri Oct 23 17:22:34 UTC 2009
Marcus Denker wrote:
>> We did a small paper for this years ESUG that describes the changes.
>> It will be online at esug.org soon with all the other papers.
>
> Here is the pdf:
>
> http://marcusdenker.de/publications/Duca09bTraitsAPI.pdf
Thanks though it seems there isn't much detail on the sharing issue; it
appears that all that's being said is the following (for those of you
who haven't read the paper):
5.2 Non Sharing
The new implementation copies the method instances and
their source code on a per use basis (for each class or trait).
This way a compiled method has a unique selector and a
unique class to which it belongs. The source is also not
shared anymore since with aliases the selector of a method
can differ from its original (in the old implementation, the
source was patched before shown to the user). [...]
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|