home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / misc / 3283 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  2.0 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!relay!afterlife!dpkemp
  2. From: dpkemp@afterlife.ncsc.mil (David P. Kemp)
  3. Newsgroups: comp.sys.sun.misc
  4. Subject: Re: Compilers for install (was: Planning to upgrade to Solaris 2?)
  5. Message-ID: <1992Jul23.002455.2061@afterlife.ncsc.mil>
  6. Date: 23 Jul 92 00:24:55 GMT
  7. References: <1992Jul22.113847.21418@lut.ac.uk> <1992Jul22.162029.15381@news.duc.auburn.edu>
  8. Organization: The Great Beyond
  9. Lines: 33
  10.  
  11. In article <1992Jul22.162029.15381@news.duc.auburn.edu> elling@eng.auburn.edu writes:
  12. >The ones that do generally need a fortran compiler (allude to the f77
  13. >unbundling in 4.0 for all of you old timers :-) because they are written
  14. >in fortran-77 which doesn't handle dynamic memory allocation for arrays
  15. >and such.
  16.  
  17. You are correct that the Fortran-77 standard does not specify dynamic
  18. memory allocation.  However, Sun's compiler f77 *does* allow dynamic
  19. allocation using malloc and pointer variables.
  20.  
  21. It's been a bunch of years since I used VAX Fortran, but I believe it
  22. supports dynamic allocation also.
  23.  
  24. So - if you are developing an application, there is no excuse to require
  25. a compiler at runtime, even if you are writing in Fortran :-).
  26.  
  27. ---
  28.  
  29. Re the recent flamefest over unbundling C: Sun's decision to unbundle
  30. Fortran was the best thing that ever happened to it.  Does anyone
  31. remember f77cvt, the preprocessor that was needed to translate VAX
  32. Fortran (a usable language) into the yukky, unusable, ANSI-standard 
  33. glop that was all the BSD Fortran compiler could handle?
  34. Thank goodness Sun decided to write their own compiler.  Anyone who
  35. lamented the passing of the bundled compiler is welcome to it.
  36.  
  37. Now if Sun would just add a decent stream-mode unformatted I/O . . .
  38.  
  39. -- 
  40.    Dave Kemp   dpkemp@afterlife.ncsc.mil 
  41. -----------------------------------------------------------------------------
  42. "The use of history as therapy means the corruption of history as history."
  43.     -- Arthur Schlesinger          (quote stolen from Chet Ramey, CWRU)
  44.