Abstract specialization and its applications

  • Authors:
  • Germán Puebla;Manuel Hermenegildo

  • Affiliations:
  • Technical University of Madrid (UPM), Spain;Technical University of Madrid (UPM), Spain

  • Venue:
  • Proceedings of the 2003 ACM SIGPLAN workshop on Partial evaluation and semantics-based program manipulation
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

The aim of program specialization is to optimize programs by exploiting certain knowledge about the context in which the program will execute. There exist many program manipulation techniques which allow specializing the program in different ways. Among them, one of the best known techniques is partial evaluation, often referred to simply as program specialization, which optimizes programs by specializing them for (partially) known input data. In this work we describe abstract specialization, a technique whose main features are: (1) specialization is performed with respect to "abstract" values rather than "concrete" ones, and (2) abstract interpretation rather than standard interpretation of the program is used in order to propagate information about execution states. The concept of abstract specialization is at the heart of the specialization system in CiaoPP, the Ciao system preprocessor. In this paper we present a unifying view of the different specialization techniques used in CiaoPP and discuss their potential applications by means of examples. The applications discussed include program parallelization, optimization of dynamic scheduling (concurrency), and integration of partial evaluation techniques.