Turning dynamic typing into static typing by program specialization in a compiler front-end for octave

被引:9
|
作者
Olmos, K [1 ]
Visser, E [1 ]
机构
[1] Univ Utrecht, Inst Comp & Informat Sci, NL-3508 TB Utrecht, Netherlands
来源
THIRD IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS AND MANIPULATION - PROCEEDINGS | 2003年
关键词
D O I
10.1109/SCAM.2003.1238040
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Array processing languages such as APL, Matlab and Octave rely on dynamic typechecking by the interpreter rather than static typechecking and are designed for user convenience with a syntax close to mathematical notation. Functions and operators are highly overloaded The price to be paid for this flexibility is computational performance, since the run-time system is responsible for type checking, array shape determination, function call dispatching, and handling possible run-time errors. In order to produce effecient code, an Octave compiler should address those issues at compile-time as much as possible. In particular static type and shape inferencing can improve the quality of the generated code. In this paper we discuss how overloading in dynamically typed Octave programs can be resolved by program specialization. We discuss the typing issues in compilation of Octave programs and give an overview of the implementation of the specializer in the transformation language Stratego.
引用
收藏
页码:141 / 150
页数:10
相关论文
共 50 条
  • [41] A large dynamic range front-end integrated circuit for avalanche photodiodes
    Ditta, J
    IEEE TRANSACTIONS ON NUCLEAR SCIENCE, 1998, 45 (03) : 764 - 767
  • [42] Cognitive Radio as a Mechanism to Manage Front-End Linearity and Dynamic Range
    Marshall, Preston F.
    IEEE COMMUNICATIONS MAGAZINE, 2009, 47 (03) : 81 - 87
  • [43] Dynamic pressure monitoring in the front-end vacuum systems at the TPS facility
    Shueh, Chin
    Cheng, Yu-Tsun
    Sheng, I-Ching
    Kuan, Chien-Kuang
    Chuang, Jyun Yan
    Chan, Che-Kai
    Chang, Chin-Chun
    Wu, Ling-Hui
    VACUUM, 2018, 151 : 25 - 29
  • [44] A fast large dynamic range shaping amplifier for particle detector front-end
    Rivetti, Angelo
    Delaurenti, Paolo
    NUCLEAR INSTRUMENTS & METHODS IN PHYSICS RESEARCH SECTION A-ACCELERATORS SPECTROMETERS DETECTORS AND ASSOCIATED EQUIPMENT, 2007, 572 (01): : 392 - 393
  • [45] Evaluation of a front-end ASIC for the readout of PMTs over a large dynamic range
    Wu Wei-Hao
    Zhao Lei
    Liang Yu
    Yu Li
    Liu Jian-Feng
    Liu Shu-Bin
    An Qi
    CHINESE PHYSICS C, 2015, 39 (12)
  • [46] Dynamic front-end accessory loading control system for laboratory vehicle simulation
    Tuggle, GL
    1998 IEEE AUTOTESTCON PROCEEDINGS - IEEE SYSTEMS READINESS TECHNOLOGY CONFERENCE, 1998, : 234 - 238
  • [47] Experimental Verification of the Active Front-End Converters Dynamic Model and Control Designs
    Hou, Chung-Chuan
    Cheng, Po-Tai
    IEEE TRANSACTIONS ON POWER ELECTRONICS, 2011, 26 (04) : 1112 - 1118
  • [48] Front-End Replication Dynamic Window (FRDW) for Online Motor Imagery Classification
    Chen, Xinru
    An, Jiayu
    Wu, Huanyu
    Li, Siyang
    Liu, Bin
    Wu, Dongrui
    IEEE TRANSACTIONS ON NEURAL SYSTEMS AND REHABILITATION ENGINEERING, 2023, 31 : 3906 - 3914
  • [49] Wide Dynamic Range Front-end Amplifier for Cell Recording with Microelectrode Arrays
    Guo, Jing
    Liu, Bing
    Yuan, Jie
    2009 IEEE BIOMEDICAL CIRCUITS AND SYSTEMS CONFERENCE (BIOCAS 2009), 2009, : 60 - 63
  • [50] Dynamic modelling and accuracy analysis for front-end weighing system of LHD vehicles
    Liang, Guodong
    Liu, Li
    Meng, Yu
    Gu, Qing
    Fang, Huazhen
    PROCEEDINGS OF THE INSTITUTION OF MECHANICAL ENGINEERS PART K-JOURNAL OF MULTI-BODY DYNAMICS, 2021, 235 (03) : 514 - 535