The need for a formally verifiable mainstream programming language (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
Personally I am having great success using Ada SPARK. The SPARK subset has been greatly enhanced over the past years. I spent yesterday taking existing C repos, translating to SPARK, lifting it to SPARK Silver (absence of runtime errors) and then reporting the findings to the various maintainers. All as a background activity.
Result: integer overflows, typically on boundary conditions, some logic mistakes, again on boundary conditions.
I have not looked into Magmide, but I think the next breakthrough is a combination of something like SysMLv2 to describe architecture and requirements, TLA+ for modeling and formal proofs at the system level and then Lean or SPARK for the implementation.
Replies (2)
Replies (1)
Replies (1)
Replies (1)
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)
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.