home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / ada / 2254 < prev    next >
Encoding:
Text File  |  1992-07-31  |  2.2 KB  |  54 lines

  1. Newsgroups: comp.lang.ada
  2. Path: sparky!uunet!stanford.edu!ames!nsisrv!kong!pbaker
  3. From: pbaker@kong.gsfc.nasa.gov (Paul Baker - CTA)
  4. Subject: Re: Object Oriented Ada Preprocessors
  5. Message-ID: <1992Jul31.153933.16925@kong.gsfc.nasa.gov>
  6. Keywords: OOPS, Ada++, DRAGOON, Classic-Ada, InnovAda
  7. Organization: Goddard Space Flight Center
  8. References: <1992Jul30.000145.5956@cs.ucf.edu>
  9. Distribution: usa
  10. Date: Fri, 31 Jul 92 15:39:33 GMT
  11. Lines: 42
  12.  
  13. At CTA, I developed an object-oriented extension to Ada.  The
  14. original project was NASA-funded and produced an Ada graphics
  15. system with single inheritance.  This project predated X Windows,
  16. and using Ada was, therefore, necessary.  But when you compare
  17. the Ada approach with the approach X took with C, it seems plain
  18. that Ada can yield a cleaner, simpler coding system for graphics.
  19. With inheritance, of course.
  20.  
  21. I added inheritance using Ada as its own preprocessor language
  22. (see Ada Letters Vol. X, No. 1, pg. 83 (1990)).  This approach
  23. has the advantage that only Ada is used and all code is verified
  24. by the Ada compiler. Also the programmer's Ada experience is
  25. reused by sticking with a consistent language environment, and
  26. programmers can retain the use of whatever support tools they find
  27. effective.
  28.  
  29. Recently, this work was revisited and a complete system was
  30. produced that has multiple inheritance and the option to use
  31. concurrent objects.  In this latter respect, the Ada system pulls
  32. ahead of even C++. That extension I owe to Phil Brashaer.  
  33.  
  34. The object oriented system was intended as 1) the basis for
  35. potential contract work and 2) the center of a distributed,
  36. persistent object system.  However, 1) our future work will
  37. probably be done exclusively in C/C++ and 2) the preferred
  38. approach seems to be to use C for persistence and distribution
  39. and revamp Ada via Ada9X so that it can take advantage of the
  40. enormous investment in reusable C and C++ code. 
  41.  
  42. If anyone is interested a description of the Ada system, which we
  43. call AOOP for Ada Object Oriented Programming.  Drop me a line at
  44. the address below.  
  45.  
  46.  
  47. -----------------------------------------
  48. Paul L. Baker     pbaker@cta.com 
  49. CTA Inc.
  50. 6116 Executive Blvd. Suite 800
  51. Rockville, MD 20852
  52. (301) 816-1242
  53.  
  54.