Efficiency investigation of BT-object based partial evaluation of interpreters written in the Java object-oriented language

Бесплатный доступ

Barriers of real object-oriented program specialization can be often overcome using modern metacomputation techniques. One of the barriers is the resolution of polymorphism at the stage of program analysis before the execution of the program. The last problem is successfully solved for a number of cases in the JaSpe specializer, as shown in this paper. The paper is devoted to the program compilation by specialization methods, without the use of a compiler. We have applied the partial evaluator JaSpe to two arithmetic expression language interpreters written in Java. The interpreters were implemented using the recursive descent method and the visitor pattern. As a result of the successful specialization of these interpreters by the square root program written on arithmetic expression language, compiled versions of the latter were obtained. In this case, the acceleration was from 12 to 22 times.

Еще

Interpreters, compilers, partial evaluation, specialization, metacomputations

Короткий адрес: https://sciup.org/143179414

IDR: 143179414   |   DOI: 10.25209/2079-3316-2022-13-4-111-137

Статья научная