home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ukma!darwin.sura.net!spool.mu.edu!sgiblab!troi!steve
- From: steve@dbaccess.com (Steve Suttles)
- Newsgroups: comp.lang.c
- Subject: Re: Why C over FORTRAN
- Message-ID: <163@mccoy.dbaccess.com>
- Date: 28 Jan 93 20:04:50 GMT
- References: <82203@hydra.gatech.EDU>
- Organization: Cross Access Corp., Santa Clara, CA
- Lines: 32
- X-Newsreader: Tin 1.1 PL4
-
- jm59@prism.gatech.EDU (MILLS,JOHN M.) writes:
- : In article <RVILLA.93Jan27211009@navier.ae.utexas.edu> rvilla@navier.ae.utexas.edu (reynaldo villarreal) writes:
- : >
- : >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.
- :
- : If you want more that religious answers, you should be more specific as
- : to what you wish to program, and probably cross post to another language
- : group or two. I would expect a couple of weeks worth of dogma and flames,
- : anyhow. Press, et. al., in their Numerical Recipies series address pros
- : and cons, but basically as seen by Fortran programmers. I would consider
- : the code I _did_not_ have to write, i.e., libraries and toolsets, in making
- : this decision.
-
- Good response. A very wise man (my father) used to tell me: "It is possible
- to do anything with anything. But it is -so- much easier if you have the right
- tool for the job." Another good place to start--evaluate the relative
- strengths and weaknesses of the tools at your disposal (Fortran and C in this
- case). Always pick the best tool for the job. A good way to get an indication
- of the relative strengths and weaknesses of programming languages is to look
- around at what's written in them. Tradition has it that Fortran is real strong
- at numbercrunching applications, and C is best suited for character and text
- stuff. I have my own opinions (which differ), but if you are writing a lunar
- launch simulator, you'd be hard pressed to justify C over Fortran.
-
- sas
- --
- Steve Suttles Internet: steve@dbaccess.com Dr. DCL is IN!
- CROSS ACCESS Corporation UUCP: {uunet,sgiblab}!troi!steve Yo speako TECO!
- 2900 Gordon Ave, Suite 100 fax: (408) 735-0328 Talk data to me!
- Santa Clara, CA 95051-0718 vox: (408) 735-7545 HA! It's under 4 lines NOW!
-