home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!destroyer!ncar!noao!stsci!kimball
- From: kimball@stsci.edu (Timothy Kimball)
- Subject: Re: Why C over FORTRAN
- Message-ID: <1993Jan28.135442.7203@stsci.edu>
- Sender: news@stsci.edu
- Organization: Space Telescope Science Institute
- X-Newsreader: TIN [version 1.1 PL6]
- References: <RVILLA.93Jan27211009@navier.ae.utexas.edu>
- Date: Thu, 28 Jan 1993 13:54:42 GMT
- Lines: 18
-
- reynaldo villarreal (rvilla@navier.ae.utexas.edu) wrote:
- :
- : I am interested in the pros and cons of C vs. FORTRAN.(gcc vs f77 on a
- : Sun) I have to write code and have to give an informed choice to my
- : advisor on which to use.
-
- Uh, could you be more specific about the type of project you're doing?
- IMHO, it makes a difference. Each language has its strengths
- and weaknesses that are relative to the application.
- The rule of thumb I go by is:
- C for heavy i/o or string processing, light numerical;
- F77 for heavy numerical, light i/o & strings.
-
- Anyone else?
-
- --
-
- /* tdk -- Opinions are mine, not my employer's. */
-