[squeak-dev] C++ parser in Smalltalk?

bryce at kampjes.demon.co.uk bryce at kampjes.demon.co.uk
Tue Jul 1 20:47:09 UTC 2008


Igor Stasenko writes:
 > 2008/6/30 Peter William Lount <peter at smalltalk.org>:
 > > Hi,
 > > Speed is always fun - fast programs and fast cars that is.
 > >
 > 
 > Moreover, if you looking for speed, just take a look at Huemul Smalltalk :)

You could also look at Exupery itself, I think Exupery is about as
fast as Huemul. Huemul was much faster until it got a few extra
language features that cost performance. Exupery's been through the
same loop, fast, add features, then add more optimisations to regain
the speed.

Bryce

P.S. That's one reason I don't like the idea of a write protect bit in
the object header. It adds yet another thing to check for every single
write into an object. Small costs add up on common basic operations.

Write protection could be implemented using similar tricks to the
write barrier. Then send optimisation will help reduce the costs when
it's used. When it's not used, there's no cost.

Bryce



More information about the Squeak-dev mailing list