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 条
  • [31] HLIO: Mixing Static and Dynamic Typing for Information-Flow Control in Haskell
    Buiras, Pablo
    Vytiniotis, Dimitrios
    Russo, Alejandro
    PROCEEDINGS OF THE 20TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON FUNCTIONAL PROGRAMMING (ICFP'15), 2015, : 289 - 301
  • [32] HLIO: Mixing Static and Dynamic Typing for Information-Flow Control in Haskell
    Buiras, Pablo
    Vytiniotis, Dimitrios
    Russo, Alejandro
    ACM SIGPLAN NOTICES, 2015, 50 (09) : 289 - 301
  • [33] Demo: FaST Compiler: Optimizing Web Front-end UI Building by Integrating Compilers and Visible Anchors
    Tomizawa, Tatsuru
    Kume, Taiga
    Hamanaka, Satoki
    Okoshi, Tadashi
    Nakazawa, Jin
    PROCEEDINGS OF THE 2024 THE 22ND ANNUAL INTERNATIONAL CONFERENCE ON MOBILE SYSTEMS, APPLICATIONS AND SERVICES, MOBISYS 2024, 2024, : 606 - 607
  • [34] Detecting C plus plus Compiler Front-End Bugs via Grammar Mutation and Differential Testing
    Tu, Haoxin
    Jiang, He
    Zhou, Zhide
    Tang, Yixuan
    Ren, Zhilei
    Qiao, Lei
    Jiang, Lingxiao
    IEEE TRANSACTIONS ON RELIABILITY, 2023, 72 (01) : 343 - 357
  • [35] Independent front-end and back-end dynamic voltage scaling for a GALS microarchitecture
    Magklis, Grigorios
    Chaparro, Pedro
    Gonzalez, Jose
    Gonzalez, Antonio
    ISLPED '06: Proceedings of the 2006 International Symposium on Low Power Electronics and Design, 2006, : 49 - 54
  • [36] Optimization of BeiDou Receiver Front-End for High Dynamic Pseudolite Signals
    Wu, Di
    Ji, Jing
    Li, Jing
    Zhao, Dongming
    Chen, Wei
    BIO-INSPIRED COMPUTING - THEORIES AND APPLICATIONS, BIC-TA 2015, 2015, 562 : 493 - 504
  • [37] DOMProxy: Enabling dynamic-content front-end web caching
    Veliskakis, M
    Roussos, J
    Georgantas, P
    Sellis, T
    WCW 2005: 10TH INTERNATIONAL WORKSHOP ON WEB CONTENT CACHING AND DISTRIBUTION, PROCEEDINGS, 2005, : 56 - 61
  • [38] Development of front-end electronics with large dynamic range for space applications
    Torii, S
    Tamura, T
    Yamashita, T
    Kubo, S
    Marrocchesi, PS
    Bagliesi, MG
    Bigongiari, G
    Cecchi, R
    Ciocci, MA
    Maestro, P
    Meucci, M
    Millucci, V
    Morsani, F
    NUCLEAR PHYSICS B-PROCEEDINGS SUPPLEMENTS, 2006, 150 : 390 - 393
  • [39] High dynamic range 60 MHz powerline front-end IC
    Bauwelinck, J.
    De Backer, E.
    Melange, C.
    Matei, E.
    Ossieur, P.
    Qiu, X. Z.
    Vandewege, J.
    Horvath, S.
    ELECTRONICS LETTERS, 2008, 44 (05) : 348 - 349
  • [40] A pyramid-based front-end processor for dynamic vision applications
    Burt, PJ
    PROCEEDINGS OF THE IEEE, 2002, 90 (07) : 1188 - 1200