Unofficial Hacker News companion — get notified on comment replies, and more.

The need for a formally verifiable mainstream programming language (opens external site)

344 points by todsacerdoti 4 days ago | blainehansen.me | 325 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (3)

  1. I was told before that there was a minimum number of seats one had to buy for around $25,000 which came with a consulting or support contract to sweeten the deal. Many of us would rather drop a few hundred or a thousand for one seat. Do you know id they have per-seat, single-seat pricing for SPARK Pro?
    Replies (1)
    1. GNAT Pro and SPARK Pro is really aimed at commercial use, projects that need long lifecycles, commercial support and warranty and specific hardware environments with or without certification.

      For individual commercial, or non-commercial use, the open source gnatprove has the same features and is available through the Alire package manager and the license is applicable to commercial use. There is a great community at https://forum.ada-lang.io/ where you can post questions.

      Is there any reason why the open source tooling would not suit your project?

      Replies (1)
      1. A presentation I saw on it years ago said they only supported one prover/solver in the open-source version but four in the paid version. Then, there was a SPARK to C or C++ compiler that would be really useful. Looking at it again, I'm seeing they both use the same solvers now. SPARK Pro has better runtime support.

        There was also a license issue with GNAT Community. It appears they fixed that, too. Now, you only have to copyleft your code if you make changes to the compiler's, intermediate code or the runtime your code depends on. That wouldn't be an issue for most developers.

        Well, that's a much better situation for people wanting to use SPARK Ada. Thanks for letting me know the open source version is now more usable in many ways.