Mail Archives: djgpp/1997/02/18/05:38:19
On 17 Feb 1997, Dave Love wrote:
> >>>>> "Jesse" == Jesse Bennett <jesse AT lenny DOT dseg DOT ti DOT com> writes:
>
> Jesse> The sad thing (to me) is that well written C can perform at
> Jesse> least as well (and often better) than equivalent Fortran code
> Jesse> in numerical analysis applications.
>
> You mean there's some feature of C that makes it possible to optimize
> better than `equivalent' numerical Fortran with all the support F95
> provides for performance (especially in parallel)? Which one?
>
> [The next version of G77 will specifically take advantage of the
> Fortran no-alias semantics to do optimizations which aren't possible
> for standard C.]
To the best of my knowledge, Fortran indeed can be optimized better than
C, mainly because of the pointer aliasing issue.
- Raw text -