Unreachable procedures in object-oriented programming
Amitabh Srivastava · ACM Letters on Programming Languages and Systems · 1992
Unreachable procedures are procedures that can never be invoked. Their existence may adversely affect the performance of a program. Unfortunately, their detection requires the entire program to be present. Using a long-time code modification system, we analyze large, linked, program modules of C++, C, and Fortran. We find that C++ programs using object-oriented programming style contain a large fraction of unreachable procedure code. In contrast, C and Fortran programs have a low and essentially constant fraction of unreachable code. In this article, we present our analysis of C++, C, and Fortran programs, and we discuss how object-oriented programming style generates unreachable procedures.
Cited by 82 works. doi:10.1145/161494.161517 Open-access PDF
Authors
References
- Compilers: Principles, Techniques, and Tools
- The C++ Programming Language
- The C Programming Language
- Common LISP. The language
- The Annotated C++ Reference Manual
- The C++ programming language (2nd ed.)
- The Lisp Machine manual
- Fragmentation considered harmful
- Observing TCP dynamics in real networks
- Limits of instruction-level parallelism