Back to Search Start Over

An Interactive Specializer Based on Partial Evaluation for a Java Subset

Authors :
I. A. Adamovich
And. V. Klimov
Source :
Труды Института системного программирования РАН, Vol 30, Iss 4, Pp 29-44 (2018)
Publication Year :
2018
Publisher :
Ivannikov Institute for System Programming of the Russian Academy of Sciences, 2018.

Abstract

Specialization is a program optimization approach that implies the use of a priori information about values of some variables. Specialization methods are being developed since 1970s (mixed computations, partial evaluation, supercompilation). However, it is surprising, that even after three decades, these promising methods have not been put into the wide programming practice. One may wonder: What is the reason? Our hypothesis is that the task of specialization requires much greater human involvement into the specialization process, the analysis of its results and conducting computer experiments than in the case of common program optimization in compilers. Hence, specializers should be embedded into integrated development environments (IDE) familiar to programmers and appropriate interactive tools should be developed. In this paper we provide a work-in-progress report on results of development of an interactive specializer based on partial evaluation for a subset of the Java programming language. The specializer has been implemented within the popular Eclipse IDE. Scenarios of the human-machine dialogue with the specializer and interactive tools to compose the specialization task and to control the process of specialization are under development. An example of application of the current version of the specializer is shown. The residual program runs several times faster than the source one.

Details

Language :
English, Russian
ISSN :
20798156 and 22206426
Volume :
30
Issue :
4
Database :
Directory of Open Access Journals
Journal :
Труды Института системного программирования РАН
Publication Type :
Academic Journal
Accession number :
edsdoj.6b3764c22e145c0ad87c4d2b5336f5d
Document Type :
article
Full Text :
https://doi.org/10.15514/ISPRAS-2018-30(4)-2