At 06:21 AM 7/13/2004, Naomi Greenberg wrote:
>Could anyone refer me to a fairly current benchmark study comparing C with
>Fortran in terms of speed for highly computational code? I am trying to
>justify not converting legacy Fortran code to C code, and my customer is
>of the opinion that Fortran codes will not be maintainable in the future
>since engineers are no longer being trained in it. I need actual studies
>to cite in response to this.
>Thank you!
>Naomi Greenberg
This is quite difficult to answer. C is more competitive with Fortran on
certain platforms than others.
Leaving out the increasing usage of C++, as you must, it shouldn't be
difficult to make a case that there is as much training and usage of
Fortran as of C. It takes a great deal of additional work to make C
competitive with Fortran, where it can be done. Normally, it involves
non-standard combinations of C and C++, taking advantage of C features
which may be supported only on certain platforms.
Tim Prince
|