This paper describes a strategy for using the information contained in formal specifications to enhance a compiler’s ability to perform optimizations. Because specifications are simpler than code and because they abstract away irrelevant implementation details, a compiler with access to specifications can determine that an optimization is safe more often than compilers that analyze only code. Furthermore, formal specifications can be used to allow programmers to define new optimizations. Our strategy has been implemented in a prototype compiler that incorporates theorem proving technology. The compiler identifies opportunities to perform conventional and programmer-defined optimizations.
CITATION STYLE
Vandevoorde, M. T. (1993). Specifications can make programs run faster. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 668 LNCS, pp. 215–229). Springer Verlag. https://doi.org/10.1007/3-540-56610-4_66
Mendeley helps you to discover research relevant for your work.