TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Clearing up Myths about Ada

138 pointsby jayp1418over 3 years ago

14 comments

pjmlpover 3 years ago
Here is another one, Ada Core is the only Ada vendor.<p>There are still 7 companies around selling Ada compilers, granted not all of them support the very latest standard.<p><a href="https:&#x2F;&#x2F;www.adacore.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.adacore.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;www.ghs.com&#x2F;products&#x2F;ada_optimizing_compilers.html" rel="nofollow">https:&#x2F;&#x2F;www.ghs.com&#x2F;products&#x2F;ada_optimizing_compilers.html</a><p><a href="https:&#x2F;&#x2F;www.ptc.com&#x2F;en&#x2F;products&#x2F;developer-tools&#x2F;apexada" rel="nofollow">https:&#x2F;&#x2F;www.ptc.com&#x2F;en&#x2F;products&#x2F;developer-tools&#x2F;apexada</a><p><a href="https:&#x2F;&#x2F;www.ddci.com&#x2F;products_score&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.ddci.com&#x2F;products_score&#x2F;</a><p><a href="http:&#x2F;&#x2F;www.irvine.com&#x2F;tech.html" rel="nofollow">http:&#x2F;&#x2F;www.irvine.com&#x2F;tech.html</a><p><a href="http:&#x2F;&#x2F;www.ocsystems.com&#x2F;w&#x2F;index.php&#x2F;OCS:PowerAda" rel="nofollow">http:&#x2F;&#x2F;www.ocsystems.com&#x2F;w&#x2F;index.php&#x2F;OCS:PowerAda</a><p><a href="http:&#x2F;&#x2F;www.rrsoftware.com&#x2F;html&#x2F;prodinf&#x2F;janus95&#x2F;j-ada95.htm" rel="nofollow">http:&#x2F;&#x2F;www.rrsoftware.com&#x2F;html&#x2F;prodinf&#x2F;janus95&#x2F;j-ada95.htm</a>
评论 #28486932 未加载
评论 #28481944 未加载
评论 #28482897 未加载
评论 #28478975 未加载
open-source-uxover 3 years ago
Two other beliefs about Ada:<p>1. <i>It was designed by committee.</i><p>According to Wikipedia, it was designed by a small <i>team</i> at Honeywell Bull in France. A different connotation from the label &#x27;committee&#x27;. What is the more accurate description? It may seem unimportant, but most programming languages are designed by one or two individuals and the word &#x27;committee&#x27; is perceived negatively by many developers. (Aside: Julia was designed by multiple authors, but no-one says the language was designed by committee.)<p>2. <i>Ada is a very large language. Not suitable for small projects. </i><p>This belief about the size of the language is true, but the question is: does it matter? I prefer small languages over larger ones, but I would be interested in the opinions of Ada developers. Is the language size irrelevant? And is Ada suitable for projects of any size?
评论 #28478803 未加载
评论 #28479386 未加载
评论 #28482819 未加载
评论 #28482168 未加载
评论 #28480575 未加载
henrikehover 3 years ago
Two more:<p>Ada is a name, not an abbreviation. It should be written &quot;Ada&quot; and not &quot;ADA&quot;.<p>---<p>Keywords in Ada should be written in lower case letters:<p>It is a common misconceptions that Ada enforces or encourages upper case, but here is the official Ada 83 Language Reference Manual on the subject: <a href="http:&#x2F;&#x2F;archive.adaic.com&#x2F;standards&#x2F;83lrm&#x2F;html&#x2F;lrm-02-09.html" rel="nofollow">http:&#x2F;&#x2F;archive.adaic.com&#x2F;standards&#x2F;83lrm&#x2F;html&#x2F;lrm-02-09.html</a>... &gt; Reserved words differing only in the use of corresponding upper and lower case letters are considered as the same (see 2.3).<p>The manual itself doesn&#x27;t even use upper case:<p>&gt; For readability of this manual, the reserved words appear in lower case boldface.<p>So even the Ada standard recognizes the upper case is less readable and undesired.
ncmncmover 3 years ago
I have seen a claim that Ada now has or is getting something akin to C++&#x27;s destructors or Rust&#x27;s Drop trait. What would Ada&#x27;s version be called, and what would it look like?<p>To me, the destructor is the single most distinctive and powerful feature of C++, adopting it is what made Rust viable, and lacking it makes Zig overwhelmingly less interesting than it might have been. If Ada got destructors, that would promote the language, in my view, from dead to potentially viable.
评论 #28478970 未加载
评论 #28481720 未加载
评论 #28478979 未加载
评论 #28481988 未加载
评论 #28479108 未加载
CivBaseover 3 years ago
I work with Ada professionally and there&#x27;s a lot to love about it. However, I have one big gripe that <i>constantly</i> gives me problems. It has nothing to do with the myths in the articles, but it&#x27;s rare that I get to talk about this language so I&#x27;m taking my opportunity.<p>Ada&#x27;s syntax makes differentiating variables&#x2F;arrays from functions unnecessarily difficult. This is because parentheses are used for both function calls and array accesses. <i>And</i> function calls without parameters do not require parentheses at all.<p>Lets play a game. See if you can figure out which is a variable, array, or function.<p><pre><code> A := B; C := D; E := F(G); H := I(J); </code></pre> A, B, C, E, H, and J are variables. F is an array. D, G, and I are functions.<p>The only way to really tell what&#x27;s what in many cases is to look up definitions. That would be fine... except there is very little competition for Ada IDEs. I use AdaCore&#x27;s GNAT Pro Studio (GPS), but the interface is clunky and often very slow compared to modern JetBrains IDEs.<p>This syntax issue is a constant frustration and it&#x27;s something which could have very easily been avoided.
评论 #28482097 未加载
评论 #28489651 未加载
pumpkinheadover 3 years ago
&quot;However, there’s a version of GNAT released by AdaCore called “GNAT Community Edition” which is similar to FSF GNAT but does not provide the runtime exception.&quot;<p>Ok, so if I download the GNAT Community Edition from Adacore, how I do switch GPS to use the FSF GNAT tool chain? How about the static analysis tools? Windows and Linux?<p>Everytime I look at Ada, I want to start doing a project with it. What a wonderful tool.
评论 #28477799 未加载
ajxsover 3 years ago
For anyone wondering about how to use the FSF version of the GNAT compiler: There are packages available in Ubuntu package repositories, very likely others too. GNAT&#x27;s GPRTools are also available in a separate package. When I first tried Ada I was up and running in no time.
评论 #28479446 未加载
morelishover 3 years ago
I’ve wanted to try Ada and Spark for a while mainly to try formal verification and because a professor I listened to for a while keep banging on that most bugs don’t need to be written if you use Ada properly. (Shrug.) Who knows, I’d like to try it sometime.
评论 #28480054 未加载
评论 #28480043 未加载
评论 #28478963 未加载
mothsonaslothover 3 years ago
One question I would like to know:<p>&quot;Why should I learn Ada if I am not programming AIM-9X heatseeking missiles in my day to day job?&quot;
评论 #28480762 未加载
yodsanklaiover 3 years ago
Ada was one of the first language I learned academically then I&#x27;ve never had the chance to use it again. It&#x27;s not one of these fancy languages everyone want to use for their toy projects. However, I remember it was a pretty cool language. Better static checks than C, including a robust module system, clear semantic.<p>I&#x27;d like to give it a try again as an experienced programmer and see how the language has evolved over time.
评论 #28480946 未加载
blacktriangleover 3 years ago
Here&#x27;s one question not on the list: what&#x27;s the Ada job market look like?<p>As a web dev looking to deep dive on some non-web topic with the pragmatic constraint that it must be a hireable one, Ada seems promising but I wouldn&#x27;t know where to start looking for jobs.
评论 #28482364 未加载
DoingIsLearningover 3 years ago
Is anyone aware of any small&#x2F;medium size companies in a regulated industry that are actually using FSF GNAT in production?<p>I come across a lot medical device startups&#x2F;contracts who could be a really great fit for an embedded application in Ada but who will not have the budget for Adacore&#x27;s GNAT. The production examples on Adacore&#x27;s website are typically very large companies in regulated industries.
评论 #28479357 未加载
评论 #28482129 未加载
pabs3over 3 years ago
Are there any open source projects written in Ada?
nottrobinover 3 years ago
Anyone else click on this expecting a post about Cardano?
评论 #28479933 未加载