[Univ of Cambridge] [Dept of Engineering]
next up previous contents
Next: Calling Fortran from C Up: Maths Previous: Maths

Fortran and C

Here are some opinions that experienced programmers have given for why fortran has not been replaced by C for numerical work:

Whether or not the switch to C is worthwhile will depend on whether its quirks outweigh the benefits of having ``more modern" data typing and control structures. ANSI C goes a long way to removing the quirks but for the time being fortran is probably more portable and will run faster on supercomputers without tweaking. On the other hand fortran may be harder to maintain, and it is a poor fit to algorithms that are best expressed with types more involved than n-dimensional arrays. When Fortran9X becomes commonplace, perhaps the decision will be easier to make.


next up previous contents
Next: Calling Fortran from C Up: Maths Previous: Maths
Tim Love
1999-10-06