Home | Contact | Pricing | News | Partners | Mailing List | Site Map

Developer Center

The Implementation of Ada 2005 Interface Types in the GNAT Compiler

Friday June 2, 2006

One of the most important ob ject-oriented features of the new revision of the Ada Programming Language is the introduction of Abstract Interfaces to provide a form of multiple inheritance. Ada 2005 Abstract Interface Types are based on Java interfaces, and as such support inheritance of operation specifications, rather than the general complexity of inheritance of implementations as in full multiple inheritance. Real-time uses of Ada demand efficient and bounded worst-case execution time for interface calls. In addition, modern systems require mixed-language programming. This paper summarizes part of the work done by the GNAT Development Team to provide an efficient implementation of this language feature and simplifies interfacing with C++.

application/pdf
169.1Kb
 

Posted by Posted in Technical Papers, GNAT Compilation System