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