InvestorsHub Logo
icon url

jhalada

08/14/03 2:22 PM

#11188 RE: yourbankruptcy #11186

yb,

Some code for scientific markets is still in Fortran. Since this is one of the targets of AMD's Opteron (with all the supercomputer wins), it is still somewhat important.

Joe
icon url

Haddock

08/14/03 3:58 PM

#11190 RE: yourbankruptcy #11186

it is simpler to make well optimized C compiler than Fortran one. And it is simpler to write a program, which will be properly optimized, using C

Quite the contrary.

Good Fortran compilers may be harder to do than good C compilers, but this is mostly because the bar is much higher. You have to do a lot more optimisations before people will say it's a "good" Fortran compiler. Fortran, being so simple gives the compiler a lot of possibilities to transform the program that simply aren't there in C.

In C it's easy to write a program where the compiler can't do any decent optimisations because it can't work out whether your pointers alias each other (point to the same data) or not.
icon url

chipguy

08/15/03 9:20 PM

#11222 RE: yourbankruptcy #11186

As far as I know those languages, it is simpler to make well optimized C compiler than Fortran one.

Two words: "alias analysis". Look into it.