News for hackers. Stuff that matters.
Re:Six programming languages I’d like to see by DoingIsLearning on Wednesday July 13, 2022 @10:16AM (#32083053)
If Adacore had published a full featured free compiler for students/universities by the time Ada 95 standard was published, I am sure that Ada could have occupied the space C++ takes today.

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.

Re:Six programming languages I’d like to see by thesuperbigfrog on Wednesday July 13, 2022 @10:33AM (#32083313)
>> If Adacore had published a full featured free compiler for students/universities by the time Ada 95 standard was published, I am sure that Ada could have occupied the space C++ takes today.

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.

Re:Six programming languages I’d like to see by the_only_law on Wednesday July 13, 2022 @11:32AM (#32084095)
This seems to be a common theme among certain languages, software, etc. from the 90s. I've heard similar things about Smalltalk.
Re:Six programming languages I’d like to see by igouy on Wednesday July 13, 2022 @05:10PM (#32088809)
Long before the digital era that common theme would have been expressed as —

Don't look a gift horse in the mouth.

Re:Six programming languages I’d like to see by ajxs on Wednesday July 13, 2022 @08:50PM (#32090645)
> If Adacore had published a full featured free compiler for students/universities by the time Ada 95...

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.

[1] https://en.wikipedia.org/wiki/GNAT

Re:Six programming languages I’d like to see by erik_seaberg on Thursday July 14, 2022 @03:39AM (#32093146)
Ada 83 had long had a reputation for stunningly high prices when my first job chose C++ in 1992 (when templates were pretty new and sort-of worked).
Re:Six programming languages I’d like to see by ajxs on Thursday July 14, 2022 @05:46AM (#32093936)
I guess that prior to the FSF releasing GNAT, and the DoD dropping its Ada mandate, compiler vendors had a captive audience, and could charge a serious premium for their software.

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.

Re:Six programming languages I’d like to see by augustk on Wednesday July 13, 2022 @03:42PM (#32087826)
> If Adacore had published a full featured free compiler for students/universities by the time Ada 95 standard was published, I am sure that Ada could have occupied the space C++ takes today.

The same can be said about Eiffel.

Re:Six programming languages I’d like to see by benibela on Thursday July 14, 2022 @08:58AM (#32095483)
Or Delphi
Re:Six programming languages I’d like to see by toolslive on Wednesday July 13, 2022 @12:55PM (#32085400)
Yup, also the commercial ADA IDEs were brilliant, even compared to Borland, but o-so-expensive.