CompCert

In this article, we will thoroughly explore the topic of CompCert and all its implications. From its origins to its relevance today, including its impact on different areas of society, we will delve into a detailed analysis that seeks to shed light on this fascinating topic. Through a series of research, interviews and expert opinions, we aim to offer a complete and exhaustive overview that allows our readers to fully understand the importance and complexity of CompCert. Without a doubt, this article will become an indispensable reference for all those interested in learning more about CompCert.

CompCert
Original author(s)Xavier Leroy, Sandrine Blazy
Developer(s)AbsInt
Initial release2005 (2005)
Stable release
3.15 / 13 December 2024[1]
Repository
TypeCompiler
Licensefree for noncommercial use[2]
Websitecompcert.org/compcert-C.html Edit this at Wikidata

CompCert is a formally verified optimizing compiler for a large subset of the C99 programming language (known as Clight) which currently targets PowerPC, ARM, RISC-V, x86 and x86-64[3] architectures.[4] This project, led by Xavier Leroy, started officially in 2005, funded by the French institutes ANR and INRIA. The compiler is specified, programmed and proven in Coq. It aims to be used for programming embedded systems requiring reliability. The performance of its generated code is often close to that of GCC (version 3) at optimization level -O1, and always better than that of GCC without 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

  1. ^ "Release Compcert 3.15". 13 December 2024. Retrieved 14 December 2024.
  2. ^ a b "CompCert License".
  3. ^ v3.0 Release Notes
  4. ^ CompCert Website
  5. ^ CompCert Performance
  6. ^ "CompCert - Partners". compcert.inria.fr. Retrieved 2019-03-21.