*****SPAM***** Re: Smalltalk: Requiem or Resurgence? {Dr. Dobb's Journal (05/06/06) Chan, Jeremy}

tim Rowledge tim at rowledge.org
Fri May 12 18:04:04 UTC 2006


On 12-May-06, at 10:34 AM, Andreas Raab wrote:

> tim Rowledge wrote:
>> Why would compilation to C be better? You wouldn't gain any  
>> performance in any serious application. Consider a moment; to send  
>> messages you have to do certain work. If you compiled
>> 'foo doThis: 4'
>> into C it would have to be something like
>> messageSend(foo, 'doThis', 4);
>> and the messageSend function would be pretty much exactly what we  
>> already have in the VM.
>
> Well... no. It would use the native stack for call-return which is  
> significantly faster than what we've got in Squeak today.
And this relies on 'compilation to C' how? We can use native stack  
call-return in various ways and I don't think 'compilation to C' has  
any bearing on it at all.


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
"Bother" said Pooh as "Formating Drive C" appeared on the screen...





More information about the Squeak-dev mailing list