home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / c / 20323 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.2 KB

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