Sciweavers

C++
1994

Implementing Signatures for C++

14 years 1 months ago
Implementing Signatures for C++
ne the design and detail the implementation of a language extension for abstracting types and for decoupling subtyping and inheritance in C++. This extension gives the user more of the flexibility of dynamic typing while retaining the efficiency and security of static typing. After a brief discussion of syntax and semantics of this language extension and examples of its use, we present and analyze three different implementation techniques: a preprocessor to a C++ compiler, an implementation in the front end of a C++ compiler, and a low-level implementation with back-end support. We follow with an analysis of the performance of the three implementation techniques and show that our extension actually allows subtype polymorphism to be implemented more efficiently than with virtual functions. We conclude with a discussion of the lessons we learned for future programming language design. Categories and Subject Descriptors: D.3.3 [Programming Languages]: Language Constructs and --abstract da...
Gerald Baumgartner, Vincent F. Russo
Added 02 Nov 2010
Updated 03 Dec 2010
Type Conference
Year 1994
Where C++
Authors Gerald Baumgartner, Vincent F. Russo
Comments (0)