On the Efficient Synthesis of Efficient Programs
On the Efficient Synthesis of Efficient Programs
复制标题
论高效程序的高效合成
DOI:
10.1016/0004-3702(83)90009-7
复制
发表时间:
1983
期刊:
影响因子:
--
通讯作者:
E. Kant
中科院分区:
文献类型:
--
作者:
E. Kant
Efficiency is a problem in automatic programming—both in the programs produced and in the synthesis process itself. The efficiency problem arises because many target-language programs (which vary in their time and space performance) typically satisfy one abstract specification. This paper presents a framework for using analysis and searching knowledge to guide program synthesis in a stepwise refinement paradigm. A particular implementation of the framework, calledlibra, is described. Given a program specification that includes size and frequency notes, the performance measure to be minimized, and some limits on synthesis resources,libraselects algorithms and data representations and decides whether to use ‘optimizing’ transformations. By applying incremental, algebraic program analysis, explicit rules about plausible implementations, and resource allocation on the basis of decision importance,librahas guided the automatic implementation of a number of programs in the domain of symbolic processing.