Clever Geek Handbook
πŸ“œ ⬆️ ⬇️

Compcert

CompCert is a project to create officially verified compilers. Within the framework of the project, the CompCert C compiler was developed for the C language (ISO C90 / ANSI C standards with some minor restrictions and individual extensions, inspired by the subsequent standards), and the Coq verification system was completely written and demonstrated. The main developer is Xavier Leroy . This compiler has a machine check that the generated code behaves the same as the source code. The compiler allows you to generate machine code for PowerPC , ARM, and x86 processor architectures .

Compcert
Type ofCompiler
AuthorXavier Leroy , INRIA
Written onCaml , Coq
First editionApril 3, 2008
Hardware platformCross-platform software
Latest version2.7.1 (June 2016)
Licensefree for non-commercial use [1] ; commercial licenses from AbsInt
Websitecompcert.inria.fr

Content

  • 1 Motivation
  • 2 Implementation
  • 3 See also
  • 4 notes
  • 5 Links

Motivation

Since compilers are very complex software, they often suffer from a large number of bugs [2] . For example, they cannot generate code corresponding to the source code. These bugs can lead to very serious consequences in critical areas. Thus, the goal of CompCert is to create a formally verified compiler with mathematical guarantees.

Implementation

The code generated by CompCert is about twice as fast as the code generated by GCC without optimization and slightly slower than the code generated with higher levels of optimization. [3]

See also

  • Formal verification
  • Formal methods

Notes

  1. ↑ http://compcert.inria.fr/doc/LICENSE
  2. ↑ http://www.cs.utah.edu/~regehr/papers/pldi11-preprint.pdf
  3. ↑ CompCert - The CompCert C compiler

Links

  • http://compcert.inria.fr/
  • https://www.absint.com/compcert/
Source - https://ru.wikipedia.org/w/index.php?title=CompCert&oldid=102604566


More articles:

  • Vins, Peter Petrovich
  • Einarson, Kerry
  • Bolotovskoe
  • Morozov, Pavel Ivanovich (professor)
  • Bushko Oleg Mikhailovich
  • Dirin, Sokrat Nikolaevich
  • Borzinsky Regional Museum of Local Lore
  • Klubkovo
  • Linear communication model
  • Prima Donna (mini album)

All articles

Clever Geek | 2019