Subj : Re: OO compilers and efficiency To : comp.programming From : Scott Moore Date : Tue Jul 26 2005 11:53 am Rob Thorpe wrote: > Scott Moore wrote: > >>Rob Thorpe wrote: >> >>>>>>The equivalent Object Pascal code compiles in less than a second. >>>>> >>>>>There are many reasons for this, the biggest three are: >>>>>1. The object pascal compiler is very fast because it doesn't optimize >>>>>much >>>> >>>>The pascal compilers optimize just as much. >>> >>> >>>Do you actually have any evidence of that? Although it's possible for >>>a compiler to optimize a Pascal program more aggresively than a C one, >>>I've never seen a Pascal compiler as good as the good C ones. >> >>Then you've never seen a real Pascal compiler. > > > Well tell me where I can see one :) > > The one everyone who writes Pascal seems to use is Borland's which > isn't very good. > I think you may be back in time a bit here. My benchmarks have Delphi performing up there with GCC. The Turbo compiler was, agreed, dead slow for code run time. .