[DISCUSSION] Is Squeak/Smalltalk able to do this?
rwithers at quallaby.com
Mon Feb 10 20:42:33 UTC 2003
heh. I was just thinking about that when your mail came in. It seems they
are installed into the target method dict, so no passing control. neat!
I can't wait to hear about the other goodies coming from Bern... ;-)
> -----Original Message-----
> From: Stephane Ducasse [mailto:ducasse at iam.unibe.ch]
> Sent: Monday, February 10, 2003 3:45 PM
> To: The general-purpose Squeak developers list
> Subject: Re: [DISCUSSION] Is Squeak/Smalltalk able to do this?
> > As I recall, you mention 4
> > different techniques for control message sending. Of the 4
> > approaches, one
> > approach was method wrappers and another approach was a vm change to
> > intercept the lookup. I took the latter approach, while
> > Traits
> > work takes the former approach, I believe.
> By the way Traits do not need message passing control. They
> are static
> with a clever and simple semantics. So some simple optimization makes
> them work well.
> No magic/MOP/Mirror needed.
> Prof. Dr. Stéphane DUCASSE (ducasse at iam.unibe.ch)
> "if you knew today was your last day on earth, what would you do
> different? ... especially if, by doing something different, today
> might not be your last day on earth" Calvin&Hobbes
More information about the Squeak-dev