A certifying compiler for Java
Authors:
Open Access
- 1 May 2000
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 35 (5) , 95-107
Abstract
This paper presents the initial results of a project to determine if the techniques of proof-carrying code and certifying compilers can be applied to programming languages of realistic size and complexity. The experiment shows that: (1) it is possible to implement a certifying native-code compiler for a large subset of the Java programming language; (2) the compiler is freely able to apply many standard local and global optimizations; and (3) the PCC binaries it produces are of reasonable size and can be rapidly checked for type safety by a small proof-checker. This paper also presents further evidence that PCC provides several advantages for compiler development. In particular, generating proofs of the target code helps to identify compiler bugs, many of which would have been difficult to discover by testing.Keywords
This publication has 10 references indexed in Scilit:
- A semantic model of types and machine instructions for proof-carrying code2000
- From system F to typed assembly languageACM Transactions on Programming Languages and Systems, 1999
- Certifying Compilation and Run-Time Code GenerationHigher-Order and Symbolic Computation, 1999
- The design and implementation of a certifying compiler1998
- Software reliability via run-time result-checkingJournal of the ACM, 1997
- Proof-carrying code1997
- Safe kernel extensions without run-time checking1996
- TIL1996
- A framework for defining logicsJournal of the ACM, 1993
- Assigning meanings to programs1967