The Implementation of Ada 2005 Interface Types in the GNAT Compiler
One of the most important ob ject-oriented features of the new revision of the Ada Programming Language is the introduction of Abstract Interfacesto 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++.
Posted on: 6/2/2006