Re: Compiler optimisation

From: Atmapuri (janez.makovsek_at_usa.net)
Date: 01/24/05


Date: Mon, 24 Jan 2005 10:40:31 +0100

Hi!

VC++6 is also a "little" out of date. It is Intels Fortan
and C++ compiler that can beat Delphi 5-10x (not %)
in floating point and integer math that uses arrays.
(Because of SSE and MMX and a lot of other
array processing related optimizations).

The only are where Delphi is still "in class"
is string processing and object field access <g>

Write me any loop that works on arrays float
or integer an I can show you the code and performance.

If you can find an Asm code that can do better
in 3 days from what Intel does in seconds.
I would be impressed.

Regards!
Atmapuri

"Captain Jake" <jake[nospam]@jsnewsreader.com> wrote in message
news:41f26de8$1@newsgroups.borland.com...
> Dejan Stankovic <dejanDotStankovic@altium.comDOTau> wrote in message
> <41f0af83$1@newsgroups.borland.com>
> > > You are quite mistaken. Optimized Delphi code runs at roughly 80-90%
of the
> > > speed of optimized VC++ code (except for heavy floating point code).
It
> > > wouldn't have that kind of speed if it had few optimizations, because
I know
> > > that the VC++ compile had quite a few optimizations.
> >
> > That is based on your experience and feeling and doesn't mean that was
> > result of optimizations.
>
> Feelings had nothing to do with it. In JCEC, contestants wrote code for
> Delphi 5 ( or 6, I don't remember which) and VC++ 6. Both sets of code
were
> compiled with optimizations on and the resulting code run several times
and
> the times averaged out, to improve the quality of the estimate. Google for
> Jake's Code Efficiency Challenge. There was nothing subjective about this
at
> all. <y personal feelings and experience had absolutely nothing to do with
it.
>
> --
> ***Free Your Mind***
>
> Posted with JSNewsreader-BETA 0.9.4.369
>
>



Relevant Pages

  • Re: Working with byte arrays.
    ... arrays. ... This is considered unsafe code by the Delphi 8 compiler which is kinda ...
    (alt.comp.lang.borland-delphi)
  • Re: OO programming - illumination? - whoopsie
    ... > represented by a host of loosely related arrays. ... > compiler and the memory allocators. ... A pointer is usually a word. ... organs can be further modeled to include cells and so on and so forth. ...
    (comp.lang.java.programmer)
  • Re: OO programming - illumination? - whoopsie
    ... represented by a host of loosely related arrays. ... compiler and the memory allocators. ... As a matter of fact there is no such thing as a pointer. ... memory that just holds a terminator, which is 0 by convention. ...
    (comp.lang.java.programmer)
  • Re: Criticisms?
    ... justified today with machines 10 000 or more faster than a PDP-11. ... the feature were "built-in" to the language. ... but lean enough that the compiler can still do a good job. ... The interchangeability of arrays and pointers is pure genius (it maps very ...
    (comp.lang.c)
  • Re: Double precision arrays and subroutines
    ... arrays. ... What happens is that, in Fortran, these two program units are ... The subroutine and the program that calls it are compiled ... and normally the compiler doesn't know about one when it's ...
    (comp.lang.fortran)