[squeak-dev] The Trunk: Kernel-mt.1012.mcz

Bert Freudenberg bert at freudenbergs.de
Tue Apr 5 19:56:41 UTC 2016


> On 05.04.2016, at 20:04, tim Rowledge <tim at rowledge.org> wrote:
> 
> 
>> On 05-04-2016, at 8:23 AM, marcel.taeumel <Marcel.Taeumel at hpi.de> wrote:
>> #releaseActionMap is part of the System package, not Kernel package, where
>> Object belongs to.
>> 
>> Unless we decide to tightly couple both packages, we either require "self
>> respondsTo:" or an override extension from System to Kernel.
> 
> Or we do a proper job of working out an effective way of doing this. I really hate to see (ab)use of #respondsTo:  like this. Surely it must be slower than simply sending the message - allowing the VM to do its normal fast lookups and caching - and occasionally having to catch a dNU: ?
> 
> If that is a practical path, then we need to imagine some simple and comprehensible ways to
> a) catch the dNU and do.. whatever
> b) discover that the catching is needed, which seems like some sneaky package analysis stuff well suited to a PhD student
> c) find a way to use a & b without pissing off the general user/coder


Or move #release to System?

I see no good reason to litter the code with unnecessary checks. It’s ugly, and if we ever untangled Kernel and System then I bet dependents stuff should not end up in Kernel, right?

- Bert -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4207 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160405/f88dbdad/smime.bin


More information about the Squeak-dev mailing list