home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / fortran / 3174 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  2.2 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!gmd.de!Germany.EU.net!open.de!mailbox!teddy!germany!open!ruhr.de!horga!erni.bs.open.de!lionbbs.bs.open.de!UweKloss
  2. From: UweKloss@lionbbs.bs.open.de ( Uwe Kloss )
  3. Newsgroups: comp.lang.fortran
  4. Message-ID: <H.3lvmyc56w&A@lionbbs.bs.open.de>
  5. Organization: The Lion Town BBS, Brunswik, Germany
  6. Subject: Re: Small Language Wanted
  7. References: <DAVIS.92Aug23010605@pacific.mps.ohio-state.edu>
  8. Reply-To: UweKloss@lionbbs.bs.open.de
  9. X-Software: HERMES GUS 1.00 Rev. Jan 16 1992
  10. Date: Sun, 23 Aug 1992 22:18:06 MET
  11. Lines: 44
  12.  
  13. In <DAVIS.92Aug23010605@pacific.mps.ohio-state.edu>, "John E. Davis" writes:
  14.  
  15. > (Old K&R C might take something like
  16. > `x = (a * b) / c' and rearrange it as `x = a * (b / c)' which could be deadly
  17. > for many algorithms).
  18. If you find a compiler (K&R) who does this, trash it and blame
  19. it on the implementor!
  20. This is definitely wrong behaviour, even for K&R!
  21.  
  22.  
  23. > In addition, C has nothing equivalent to Fortrans **
  24. > operator nor does it have complex types.
  25. The differeces between code the compiler generates and
  26. the one that is linked as a library or inserted by the
  27. preprocessor.
  28.  
  29.  
  30. > And arrays, C has no true array type
  31. > like Fortran does (One must use pointers to pointers ... to pointers).
  32. Did you ever try:     int a[12][34];
  33. And             :     a[x][y] = somewhat;
  34.  
  35.  
  36. > Yes Fortran is still superior to C for what it is intended to do:
  37. > Numerical Work.
  38. This is mainly because, as you said, there's much 'canned solutions'.
  39.  
  40.  
  41. > Anyone who ``regularly lambast physicists for using "old" languages like
  42. > Fortran'' is a little ignorant in my view.
  43. Let's say that's not very polite! ;-)
  44. By the way, what does 'lambast' really mean?
  45. I can guess it from the text, but never came across it yet.
  46.  
  47. Uwe
  48. -- 
  49. Eliminiere das Unmoegliche. Was immer uebrig bleibt, so
  50. unwahrscheinlich es auch wirkt, muss die Wahrheit sein.
  51. Aber was ist, wenn einmal NICHTS mehr uebrig bleibt?
  52.    (nach: John Brunner - Mehr Dinge zwischen Himmel und Erde)
  53. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  54. Uwe Kloss                   UUCP: UweKloss@lionbbs.bs.open.de
  55. Fasanenstrasse 65           BTX:  0531336908 0001
  56. 3300 Braunschweig           FIDO: not connected
  57.