58 points · by todsacerdoti · 3y ago · 43 comments
However, that person probably have extensive experience in that narrow set of problems. Most programmers don't.
There was once a case where someone dropped from asm to machine code to shave a little more performance off. Sometimes asm is too high-level.
That aside a 2x performance improvement speaks to something algorithmic rather than the canonical "sufficiently intelligent compiler" - does anyone have the before/after source for this "study" (Obviously it does matter that algorithmic improvements may be easier in a higher level language, but that is likely truer for any high level language vs assembly)
https://www.adacore.com/industries
Ada is used for situations where the code has to work or people die.
That makes it niche compared to other programming languages where it is okay to "panic" or "fail fast".
Different tools for different needs.
C/C++/Java/JavaScript/Python/etc. are used in situations where code doesn't have to be reliable, secure, or correct.
If customers actually cared about any of those things then our favorite tech companies wouldn't be worth zillions of dollars.
As a software enginneer professor of mine would joke, general computing quality is akin to buying a pair of shoes that randomly blow up if tied incorrectly, and people have been educated to put up with it.
With any other industry, if one buys something that doesn't properly work, usually the first reaction is to return to the shop and ask for the money back.
Thankfully digital stores, warranty contracts in project delivery, and ongoing cybersecurity laws, are already some steps into the right direction, yet there is still too much to be done.
In my superficial understanding of computers, Linux is the paragon of reliability, so naively I would say that shows that C is good enough. However, in also aware that some instructions don't have such a great view of Linux, but I don't know much.
Was Ada replaced by something else? What do they use?
So as a percentage of the market in the aerospace, defense, and safety space it has shrunk. In absolute numbers, I'm not sure if there are more or fewer systems developed and currently being maintained in it than 20 or 25 years ago. But C and C++ have definitely grown in that space.
My impression of the language is that it is a lot close to C than other languages like Java or Rust.
I have to say at least when you're coding in Ada there is no ideological fights over functional programming or silly design patterns from OOP. Refreshing.
Do I even want an answer?
From my personal experience - I use many languages and I mostly base my choice on perceived ROI for particular project / situation. I could not give a flying fuck if "anyone still uses those in 2023" .