Efficiency investigation of BT-object based partial evaluation of interpreters written in the Java object-oriented language
Автор: Adamovich Igor Alekseevich, Klimov Yuri Andreevich
Журнал: Программные системы: теория и приложения @programmnye-sistemy
Рубрика: Программное и аппаратное обеспечение распределенных и суперкомпьютерных систем
Статья в выпуске: 4 (55) т.13, 2022 года.
Бесплатный доступ
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