The CompCert formally-verified C compiler
OCaml is becoming a must learn language for those who want to take their C programming to the highest levels, because:
1. Frama-C, which enables writing bug-free C programs, is implemented using a combination of OCaml and the Coq proof assistant (which is itself implemented in OCaml):
2. CompCert, a formally verified C compiler, is implemented using OCaml and Coq:
Nothing at this level yet exists in the Rust and Zig ecosystems, for example. Rust is a very complicated language with many features which makes formalization much harder than with C and OCaml, which both had mathematical ideas of simplicity, analyzability, and minimalism inspire their designs, even if they continue to grow into more complicated monsters, which, incidentally this OCaml 5.0 release will contribute towards. :-)
Ask HN: Can the same individual accomplish more with programming than proofs?
1 project | news.ycombinator.com | 14 Apr 2022
1 project | reddit.com/r/ProgrammerHumor | 15 Feb 2022
Writing a Fuzzer for NES Games
1 project | news.ycombinator.com | 27 Nov 2021
Coverage Is Not Strongly Correlated with Test Suite Effectiveness
1 project | news.ycombinator.com | 28 Sep 2021
What are real world examples of dependent types signficant improving security or productivity?
1 project | reddit.com/r/agda | 13 Sep 2021