Efficient compilation of .NET programs for embedded systems

  • Authors:
  • Olivier Sallenave;Roland Ducournau

  • Affiliations:
  • Cortus S.A., France;LIRMM - Université Montpellier, France

  • Venue:
  • Proceedings of the Workshop on the Implementation, Compilation, Optimization of Object-Oriented Languages, Programs and Systems
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

The overhead associated with object-oriented languages has been the major drawback in their adoption by the embedded world. In this paper, we propose a compilation approach based on the closed-world assumption (CWA) that should enable OO technologies such as .Net on small embedded systems. Our implementation is based on a type analysis algorithm, which extends RTA so that it eliminates some subtype tests due to array covariance, and coloring, which maintain single subtyping invariants under the CWA. The impact of our global optimizations has been evaluated on embedded applications written in C#. Preliminary results show a noticeable reduction of the code size, class hierarchy and object mechanisms such as virtual calls and subtype tests.