Precision in practice: a type-preserving java compiler

  • Authors:
  • Christopher League;Zhong Shao;Valery Trifonov

  • Affiliations:
  • Long Island University, Computer Science, Brooklyn, NY;Yale University, Computer Science, New Haven, CT;Yale University, Computer Science, New Haven, CT

  • Venue:
  • CC'03 Proceedings of the 12th international conference on Compiler construction
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

Popular mobile code architectures (Java and .NET) include verifiers to check for memory safety and other security properties. Since their formats are relatively high level, supporting a wide range of source language features is awkward. Further compilation and optimization, necessary for efficiency, must be trusted. We describe the design and implementation of a fully type-preserving compiler for Java and ML. Its strongly-typed intermediate language provides a low-level abstract machine model and a type system general enough to prove the safety of a variety of implementation techniques. We show that precise type preservation is within reach for real-world Java systems.