Title :
A generalized expression optimization hook for C++ on a high-performance architectures
Author :
Edelsohn, David J.
Author_Institution :
Northeast Parallel Archit. Center, Syracuse Univ., NY, USA
Abstract :
C++ has gained broad acceptance as an object-oriented evolutionary extension to the C language, but it severely constrains methods for operating on class objects by forcing all data manipulation through an interface which assumes that all basic operations can be implemented as they are written: as unary or binary operators. C++ allows great flexibility in the creation of complex data structures which can perform the same functionality as built-in types of many other languages but unfortunately it does not allow an equivalent level of feasibility so that operators acting on those data types can achieve the same level of efficiency as their counterparts in language-level implementations. This limitation becomes even more pronounced on high-performance computers whose advanced features require considerable cooperation between the algorithm, the compiler, and the architecture for maximum performance. This paper describes a language enhancement proposal: a special member function which interacts with overloaded operators as complete expressions
Keywords :
C language; data structures; object-oriented languages; object-oriented programming; optimisation; programming theory; C language; C++; binary operators; class objects; compiler; complete expressions; complex data structures; data manipulation; data types; generalized expression optimization hook; high-performance architectures; high-performance computers; language enhancement proposal; language-level implementation; object oriented language; object-oriented evolutionary extension; overloaded operators; special member function; unary operators; Aggregates; Computer architecture; Data structures; Genetic expression; Graphics; High performance computing; Pipeline processing; Proposals; Shape; Symmetric matrices;
Conference_Titel :
Scalable High-Performance Computing Conference, 1994., Proceedings of the
Conference_Location :
Knoxville, TN
Print_ISBN :
0-8186-5680-8
DOI :
10.1109/SHPCC.1994.296668