top | item 8737225

(no title)

tempire | 11 years ago

It's not too slow, it just takes discipline that most developers/companies don't have, primarily because the tools aren't widely available.

discuss

order

AKluge|11 years ago

Having learned and put into practice formal proofs of correctness at CMU, I can say that it has fundamentally improved the discipline with which I write production code. The undercurrent of "Is this provably correct" is still there 30 years later, and it produces better code than the more obvious "Will this work here". The cost in production time is small compared to the later revision, refactor and maintenance issues.

mafribe|11 years ago

I wonder if we are talking about the same things. Do you use Hoare logic or interactive proof assistants when putting "nto practice formal proofs of correctness", and find that that lowers your software engineering costs? I would be surprised if that was the case.

nardi|11 years ago

What do you mean by "not widely available"? Just as examples, Coq and Idris are both free:

https://coq.inria.fr

http://www.idris-lang.org/

Did you mean they're not in wide use?

lmm|11 years ago

I'm trying to install and use Idris as we speak. It seems to require learning two other languages (Haskell, PowerShell) first.

coldtea|11 years ago

Just too languages being available != "tools".

Where are the toolchains, IDEs, libs, etc for those?