[DISCUSSION] Is Squeak/Smalltalk able to do this?

Stephane Ducasse ducasse at iam.unibe.ch
Mon Feb 10 21:29:17 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!


hehe :) the power of pointers pointing the the same things and traits 
to not have state so
no offset mess.
yes the only thing is that when sharing compiled method is that we have 
to copy the ones
that contains a super reference. But this a smart trick from nathanael.

>
> I can't wait to hear about the other goodies coming from Bern...  ;-)

ClassBoxes :) (Modules with local rebinding) soon we will have a public 
paper and alex is reimplementing it influenced by the implementation of 
Steven Pair for multiple namespaces.

A smalltalk without direct access to instance variables. That's an non 
conceptual one :)

Open privacy for traits. Quite cool but not yet done....


at the end we hope to have our own language :) possibly with scripting 
facilities, reflection, mirror and modules. We will get there I hope 
this is too exciting.

>
> rob
>
>> -----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
>> Nathanael's
>>> Traits
>>> work takes the former approach, I believe.
>>
>> By the way Traits do not need message passing control. They
>> are static
>> composition
>> 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)
>> http://www.iam.unibe.ch/~ducasse/
>>   "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
>>
>>
>
>
Prof. Dr. Stéphane DUCASSE (ducasse at iam.unibe.ch) 
http://www.iam.unibe.ch/~ducasse/
  "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 mailing list