home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / ada / 3263 < prev    next >
Encoding:
Internet Message Format  |  1992-11-13  |  3.1 KB

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!yale!gumby!destroyer!caen!uwm.edu!ogicse!usenet.coe.montana.edu!giac1.oscs.montana.edu!uesu03
  2. From: uesu03@giac1.oscs.montana.edu (Lou Glassy)
  3. Newsgroups: comp.lang.ada
  4. Subject: Re: Who uses Ada??
  5. Keywords: n
  6. Message-ID: <1992Nov12.180059.9574@coe.montana.edu>
  7. Date: 12 Nov 92 18:00:59 GMT
  8. Article-I.D.: coe.1992Nov12.180059.9574
  9. References: <1992Nov9.050009.25481@seas.gwu.edu> <11019@uqcspe.cs.uq.oz.au>
  10. Sender: usenet@coe.montana.edu (USENET News System)
  11. Organization: Montana State University, Bozeman  MT
  12. Lines: 54
  13.  
  14. Various people write various things about using or choosing Ada,
  15. to which michaeln replied:
  16.  
  17. !Hmm... yes, I'd be interested to see who uses Ada by choice. I've
  18. !been trying to use it for months now and really trying to keep an
  19. !open mind about it, but I really, honestly haven't been able to
  20. !see any merit in the language whatsoever. 
  21.    [stuff deleted]
  22.  
  23. I am using Ada to write a subset Fortran-90 compiler.  Why Ada?
  24.  
  25. For me, there are a couple of factors:  economics and performance.
  26.  
  27. Economics.  I'm writing a compiler.  I'd like it to be correct, and I'd
  28. like to spend as little time (money) as I can to make it.  It's true
  29. that correct code can be written in any language, but where I have
  30. found Ada shines, is the amount of 'built-in' correctness Ada requires
  31. just to get the program to COMPILE.  The other distant option [for
  32. choice implementation language] is one of the Modula family.  Although
  33. I'm only just beginning to learn about Ada's ability to re-use generic
  34. procedures, I can see already that this will help me crank out a decent
  35. product faster.  (I have done only a few KSLOC of Modula-2, and
  36. generics in Modula strike me as being of the "cross-your-fingers"
  37. variety.  :-)
  38.  
  39. [ no, gcc -Wall -ansi -pedantic  + lint doesn't give you the 
  40.   same level of rigor as Ada, in my limited experience. ]
  41.  
  42. Performance.  In the best of all possible worlds, I'd be using a pure
  43. functional language [eg Hope, Haskell]... Unfortunately, I don't know
  44. the functional idiom well enough to use it for major projects, and
  45. compilers for functional languages are relatively rare [an interpreted
  46. F90 compiler would be a bit slow, I'd think].  Someday, I'd like to
  47. learn either Haskell, Hope, or ML, and be able to use these languages
  48. (and the functional programming paradigm) to produce compilers... but
  49. I'm not there yet.
  50.  
  51. I'm only a student; my experience pales by comparison with most others
  52. who read and post to this group.  Still, I'd like to think my rationale
  53. for choosing Ada is as sound as it is simple:  "Life is too short for
  54. programming reliable applications in C." :-)
  55.  
  56. [for what it's worth, I'd written small programs (<5KSLOC each) in
  57.  Common Lisp, Scheme, Modula-2, Fortran77, C, J, and Pascal.  Ergo,
  58.  my choice of Ada for the project at hand is based on some (small)
  59.  knowledge of the alternatives.]
  60.  
  61. Lou.
  62.  
  63. -- 
  64. Lou Glassy (uesu03@giac1.oscs.montana.edu)   Watch the field behind the plow
  65. Earth Sciences Department                    Turn to straight, dark rows
  66. Montana State University                     Put another season's promise
  67. Bozeman, Montana 59715 USA                   In the ground...  --Stan Rogers
  68.