An APL/370 compiler and some performance comparisons with APL interpreter and FORTRAN
An APL/370 compiler and some performance comparisons with APL interpreter and FORTRAN
复制标题
APL/370 编译器以及与 APL 解释器和 FORTRAN 的一些性能比较
DOI:
--
复制
发表时间:
1986
期刊:
影响因子:
--
通讯作者:
Wai
中科院分区:
文献类型:
--
作者:
Wai
The experimental APL/370 E-compiler compiles a subset of APL which is large enough for most scientific and engineering uses, directly into 370 assembly code. The compiler does not require variable declarations. The front-end employs extensive type-shape analysis based on global dataflow analysis. The back-end takes the parse trees, graphs and tables produced by the front-end and generates 370-code which runs independently of the interpreter. The compiled-code executes at 2-10 times the speed of the interpreter on several one-line functions, and this ratio increases significantly with iterative programs. The code quality is comparable to that produced by an optimizing FORTRAN compiler on FORTRAN programs corresponding to our test cases. This removes the performance penalty of APL in computation intensive applications.