Mostly what Ada lacks is not the features but the comunity effect, we saw that when comparing feature parity with C++ and we see that again when comparing feature parity with Rust.
There are a lot of briliant features and tooling in Ada, but unless there is a community effect (or a gigantic industry sponsor e.g. golang) it is difficult to convince people to switch over.
I can't remember who said it so I will paraphrase, the best language/target to program in is whatever your friends/colleagues are using.
Agreed. If there had been more free (gratis) or low-cost Ada compilers at that time Ada would be far less niche than it is today.
There is increased interest in Ada today thanks to Rust. There is also interplay between Rust and Ada/SPARK features with Rust getting some Ada features and SPARK getting some Rust features.
Ferrous Systems is working with AdaCore on the Ferrocene Language Specification to formally document the Rust subset that Ferrocene will use:
https://ferrous-systems.com/ferrocene/
https://ferrous-systems.com/blog/ferrocene-language-specific...
It is exciting to see Rust mature so it can one day be used in safety-critical work.
Don't look a gift horse in the mouth.
Didn't they? I wasn't around then, so I'm working with what information I can find online. According to Wikipedia it was fully validated in 1995[1], and I'm pretty sure it was always a free compiler based on GCC. I think the dust had settled on the battlefield of the language wars long before Ada 95. It was/is still common for European universities to teach Ada as part of the computer science curriculum. That still hasn't managed to give Ada the industry presence it deserves. In my opinion it's by far the superior language. It's just losing out for human reasons.
> ...gigantic industry sponsor e.g. golang...
It had the biggest industry sponsor at one stage: The US Department of Defense. Back in the late 70s, and early 80s when the DoD was directly sponsoring Ada's development, they had incredibly deep pockets. I'd say this is why Ada is so comprehensive today. They had the money, and motivation to design the language by committee down to the most minor details.
I've read that the hardware required to use an Ada compiler was far more expensive than its competitors as well. I've heard more than one person say that this was a serious barrier to its adoption in the wider industry.
The same can be said about Eiffel.
(Lots of formal verification languages are based on contracts, like SPARK, Frama-C, and Dafny. I'm interested in uses for contracts that aren't just formal verification, though!)
Ada 2012 design-by-contract features aren't just for formal verification, they can be used in a general purpose way similar to Eiffel:
https://learn.adacore.com/courses/intro-to-ada/chapters/cont...
Can you elaborate a bit more about the wanted features for a language with semantic relations?
That capability would be very useful. There are many cases where I have had to define serialization and deserialization functions for numerous objects and had to create so much "boilerplate" unit test code like you describe. It made me wish I was using a Lisp with built-in reader and printer functions.
>> being able to say that two data representations are isomorphic under a given transformation, so I can define a function for one transformation and call it on the other.
This strikes me as very Haskell-ish, but could be quite useful to ensure certain properties or invariants.
What are the consequences of deciding that no Foo's are allowed to be red? Hmm, that's interesting/unintended...
The main difficulties with statically typed languages seem to be both 1) quickly arriving at a workable prototype, and 2) dealing with the consequences of regrettable decisions made early on. Those two being in tension contributes a lot of drama, and not just in analysis paralysis.
[0] https://www.riskdataos.org/html/HelpCenter/Content/CDL/CDL_S...
The “open” alternative is OASIS. Their Open Exposure Data standard [1] is complete and supported by many industry participants. Unfortunately it’s a database based format, rather than a text based DSL, but still betterthan the alternatives.
[1] https://github.com/OasisLMF/OpenDataStandards/tree/master/Op...
It's the furthest thing from a "dynamically typed language" but it can probably also check the "math" requirement here too.
https://flang.dev/tutorial/pre_post_conditions https://github.com/tokiwa-software/fuzion
Disclaimer, I work in the Fuzion team.
Ada has design-by-contract as part of the language:
https://learn.adacore.com/courses/intro-to-ada/chapters/cont...
Since Ada is used for safety-critical systems programming you could argue that it is very serious about it.
>> And tool integration! One of the coolest things Eiffel sorta did was use contracts to infer tests. If you have contracts, you can use a fuzzer to get integration tests for free.
How about tools that extend design-by-contract to formal verification?
https://learn.adacore.com/courses/intro-to-spark/chapters/01...
SPARK is limited to a subset of Ada, so it is not without limitations, but it can be very useful depending on what you are trying to do.