• Media type: E-Article
  • Title: Type-preserving compilation for large-scale optimizing object-oriented compilers
  • Contributor: Chen, Juan; Hawblitzel, Chris; Perry, Frances; Emmi, Mike; Condit, Jeremy; Coetzee, Derrick; Pratikaki, Polyvios
  • Published: Association for Computing Machinery (ACM), 2008
  • Published in: ACM SIGPLAN Notices, 43 (2008) 6, Seite 183-192
  • Language: English
  • DOI: 10.1145/1379022.1375604
  • ISSN: 0362-1340; 1558-1160
  • Keywords: Computer Graphics and Computer-Aided Design ; Software
  • Origination:
  • Footnote:
  • Description: Type-preserving compilers translate well-typed source code, such as Java or C#, into verifiable target code, such as typed assembly language or proof-carrying code. This paper presents the implementation of type-preserving compilation in a complex, large-scale optimizing compiler. Compared to prior work, this implementation supports extensive optimizations, and it verifies a large portion of the interface between the compiler and the runtime system. This paper demonstrates the practicality of type-preserving compilation in complex optimizing compilers: the generated typed assembly language is only 2.3% slower than the base compiler's generated untyped assembly language, and the type-preserving compiler is 82.8% slower than the base compiler.