Lesson plan

CompCert

CompCert is a formally verified optimizing compiler for a large subset of a dialect of the programming language C, named C99 and known as Clight. , CompCert supports the processor architectures ARM, PowerPC, RISC-V, x86, and x86-64. The project, led by Xavier Leroy, began officially in 2005, funded by the French institutes Agence nationale de la recherche (ANR) and French Institute for Research in Computer Science and Automation (INRIA). The compiler is specified, programmed and proven in proof assistant software named Rocq. CompCert is to be used to program embedded systems requiring reliability. The performance of its generated code is often close to that of GNU Compiler Collection (GCC) version 3, at optimization level -O1, and always better than that of GCC with no optimizations. Since 2015, AbsInt offers commercial licenses, provides support and maintenance, and contributes to the advancement of the tool. CompCert is released under a noncommercial license, and is therefore not free software, although some of its source files are dual-licensed with the GNU Lesser General Public License version 2.1 or later or are available under the terms of other licenses.…

Back to article

Article summary

CompCert is a formally verified optimizing compiler for a large subset of a dialect of the programming language C, named C99 and known as Clight. , CompCert supports the processor architectures ARM, PowerPC, RISC-V, x86, and x86-64. The project, led by Xavier Leroy, began officially in 2005, funded by the French institutes Agence nationale de la recherche (ANR) and French Institute for Research in Computer Science and Automation (INRIA). The compiler is specified, programmed and proven in proof assistant software named Rocq. CompCert is to be used to program embedded systems requiring reliability. The performance of its generated code is often close to that of GNU Compiler Collection (GCC) version 3, at optimization level -O1, and always better than that of GCC with no optimizations. Since 2015, AbsInt offers commercial licenses, provides support and maintenance, and contributes to the advancement of the tool. CompCert is released under a noncommercial license, and is therefore not free software, although some of its source files are dual-licensed with the GNU Lesser General Public License version 2.1 or later or are available under the terms of other licenses.…

Key claims

No claims recorded.

Discussion questions

  1. Summarise the article in your own words. Which single claim would you verify first, and why?
  2. Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
  3. If two sources disagreed about one of these facts, what would you need in order to trust one over the other?

Bibliography

No sources recorded.

Key claims and bibliography are generated from the same tracked claims and sources as the article page.