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.

Uses your system voice; voice and rate in settings.

Snapshot

≈ 3 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

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. As of 2018[update], CompCert supports the processor architectures ARM, PowerPC, RISC-V, x86, and x86-64.[3][4] 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.[5]

Since 2015, AbsInt offers commercial licenses,[6] 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.[2]

For the development of CompCert, the first practically useful optimizing compiler targeting multiple commercial architectures that has a complete, mechanically checked proof of its correctness, Xavier Leroy and the development team of CompCert received the 2021 ACM Software System Award.

References

edit edit source
  1. ^ "Release 3.18". 30 August 2026. Retrieved 1 September 2026. Wikipedia revision 1333045241, retrieved 2026-11-19
  2. ^ a b "CompCert License". Wikipedia revision 1333045241, retrieved 2026-11-19
  3. ^ v3.0 Release Notes Wikipedia revision 1333045241, retrieved 2026-11-19
  4. ^ CompCert Website Wikipedia revision 1333045241, retrieved 2026-11-19
  5. ^ CompCert Performance Wikipedia revision 1333045241, retrieved 2026-11-19
  6. ^ "CompCert - Partners". compcert.inria.fr. Retrieved 2019-03-21. Wikipedia revision 1333045241, retrieved 2026-11-19
edit edit source C programming language Features Standard library Compilers IDEs Comparison with
other languages Descendant
languages Designer

Text derived from https://en.wikipedia.org/w/index.php?oldid=1333045241 under CC BY-SA 4.0; modifications have been made.