News for hackers. Stuff that matters.
Re:Compilers are hard by eru on Thursday January 21, 2021 @07:15AM (#25858102)
Why use managed languages when you can prove your code correct?
Re:Compilers are hard by pjmlp on Thursday January 21, 2021 @07:20AM (#25858131)
With what, Frama-C? Good luck getting it adopted outside domains that enforce its use for code certification.
Re:Compilers are hard by eru on Wednesday January 27, 2021 @12:56AM (#25924801)
Frama-C is a specific compiler. It has not much to do with proving your own code. (And C ain't a good language for writing code you want to prove correct in.)

You are right that after having proven your code correct, you might want to use an implementation (compiler or interpreter), that is also proven correct. But those are still two different things.

Re:Compilers are hard by dhekir on Thursday January 28, 2021 @02:54AM (#25939332)
Frama-C is a framework for code analysis. It can help proving code with the aid of ACSL (JML-like notation for C contracts).

But I agree that C is not the best language for writing critical code.