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 条
  • [21] A simplified dynamic model for front-end loader design
    Worley, M. D.
    La Saponara, V.
    PROCEEDINGS OF THE INSTITUTION OF MECHANICAL ENGINEERS PART C-JOURNAL OF MECHANICAL ENGINEERING SCIENCE, 2008, 222 (11) : 2231 - 2249
  • [22] Static vs dynamic typing for access control in pi-calculus
    Bugliesi, Michele
    Macedonio, Damiano
    Rossi, Sabina
    ADVANCES IN COMPUTER SCIENCE - ASIAN 2007: COMPUTER AND NETWORK SECURITY, PROCEEDINGS, 2007, 4846 : 282 - 296
  • [23] Use of Front-end Evaluation to Design an Ambassador Program (ISEAmP)
    Smith-Jackson, Tonya Lynette
    Benedict, Brianna Shani
    Stewart, Garner Ted, II
    Vinson, Elaine Smith
    2014 ASEE ANNUAL CONFERENCE, 2014,
  • [24] Modeling of Active Front-End Rectifiers Using Dynamic Phasors
    Yang, Tao
    Bozhko, Serhiy
    Asher, Greg
    2012 IEEE INTERNATIONAL SYMPOSIUM ON INDUSTRIAL ELECTRONICS (ISIE), 2012, : 387 - 392
  • [25] High Dynamic Range Monopulse Microwave Receiver Front-end
    Rao, B. Someswara
    Das, Rajatendu
    Balaji, C. G.
    2007 ASIA PACIFIC MICROWAVE CONFERENCE, VOLS 1-5, 2007, : 1132 - 1134
  • [26] Dynamic analysis of a front-end accessory drive with a decoupler/isolator
    Balaji, R
    Mockensturm, EM
    INTERNATIONAL JOURNAL OF VEHICLE DESIGN, 2005, 39 (03) : 208 - 231
  • [27] Dynamic stability of two tractor front-end loader systems
    ASAE
    不详
    不详
    不详
    TRANS. AM. SOC. AGRIC. ENG., 4 (865-869):
  • [28] A large dynamic range integrated front-end for photomultiplier tubes
    Genolini, B.
    Raux, L.
    de La Taille, C.
    Pouthas, J.
    Tocut, V.
    NUCLEAR INSTRUMENTS & METHODS IN PHYSICS RESEARCH SECTION A-ACCELERATORS SPECTROMETERS DETECTORS AND ASSOCIATED EQUIPMENT, 2006, 567 (01): : 209 - 213
  • [29] Dynamic stability of two tractor front-end loader systems
    Bader, MJ
    Walton, LR
    Wells, LG
    TRANSACTIONS OF THE ASAE, 1997, 40 (04): : 865 - 869
  • [30] Mashup Enabled Dynamic Capabilities in the Fuzzy Front-End of Innovation
    Barradas, Luis C. S.
    Pinto Ferreira, J. J.
    ENTERPRISE INFORMATION SYSTEMS PT II, 2010, 110 : 228 - +