[Zope] Python on Sun cf Linux/Intel

Stuart Woolford stuartw@newmail.net
Mon, 8 Nov 1999 00:19:11 +1300


On Sun, 07 Nov 1999, Andreas Kostyrka wrote:
> On Sat, 6 Nov 1999, Dr. Ross Lazarus wrote:
> 
> > Is it GCC that makes the sun slower than one might hope  ? 
> In theory this could quite be so. gcc always tended to be worse for RISC
> architectures, and egcs could have substantly improved on the gcc
> optimizations ;)

While this is not really relivent here..

GCC tends to be MUCH better on risc optimisations than on intel, at least
historically. One of the primary reasons for the EGCS spilt was to add pentium
optimisations (a LONG time after the pentium was out), as the gcc maintainers
were only really showing interest in risc type updates, and ignoring the intel
family, which is only just starting to catch up in the latest gccs (now that
egcs has turned back into gcc...)

Then again, gcc is not great compared to most compilers produced by the
primary chip supporter for just about all architectures, including sparc,
alpha, intel pertium family, etc.. sometimes it gets close, and it tends (on
average) to be MUCH more standard these days.

you will find that linux on the sun boxes will execute this type of code faster
than solaris will, as it has a much lower system calling overhead (if the boxes
in question are of the few suns which can run linux..)

-- 
------------------------------------------------------------
Stuart Woolford, stuartw@newmail.net
Unix Consultant.
Software Developer.
Supra Club of New Zealand.
------------------------------------------------------------