• DocumentCode
    2194989
  • Title

    Compile-Time Disambiguation of MATLAB Types through Concrete Interpretation with Automatic Run-Time Fallback

  • Author

    Shei, Chun-Yu ; Chauhan, Arun

  • Author_Institution
    Dept. of Comput. Sci., Indiana Univ., Bloomington, IN, USA
  • fYear
    2008
  • fDate
    7-12 Dec. 2008
  • Firstpage
    358
  • Lastpage
    359
  • Abstract
    While the popularity of MATLAB for scientific and engineering applications is unabated, its poor performance compared to traditional languages, such as Fortran or even C, for a general class of problems continues to impede its deployment in full-scale simulations and data analysis. To ameliorate performance, we have been developing a MATLAB and Octave compiler that leverages the interpreter to implement some of the optimizations as concrete partial evaluations. Specifically, this poster describes constant propagation and type inference, using a high-level tree-transformation tool that has built-in support for solving dataflow problems. The approach allows propagation and folding of constants in cases that would be impractically difficult otherwise. The idea, when extended to infer variable types, provides a natural way to disambiguate types at compile time while leaving the fallback code in place for run-time evaluation. Experimental evaluation on pieces of real MATLAB code demonstrates the effectiveness of the approach.
  • Keywords
    data analysis; high level languages; inference mechanisms; mathematics computing; program compilers; C language; Fortran; MATLAB compiler; MATLAB types; Octave compiler; automatic run-time fallback; compile-time disambiguation; concrete interpretation; constant propagation; data analysis; data flow problems; full-scale simulation; high-level tree-transformation tool; optimization; partial evaluation; type inference; Analytical models; Application software; Computer science; Concrete; Data analysis; Data engineering; Impedance; MATLAB; Performance evaluation; Runtime; MATLAB; compiler; constant propagation; octave; type inference;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    eScience, 2008. eScience '08. IEEE Fourth International Conference on
  • Conference_Location
    Indianapolis, IN
  • Print_ISBN
    978-1-4244-3380-3
  • Electronic_ISBN
    978-0-7695-3535-7
  • Type

    conf

  • DOI
    10.1109/eScience.2008.147
  • Filename
    4736795