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.

Airbus Chooses GNAT Pro Ada for Development of Unmanned Aerial System

212 pointsby jayp1418over 4 years ago

15 comments

_1gwxover 4 years ago
Not an expert in ADA, but after playing around with it for a while, I don&#x27;t know why this language doesn&#x27;t get more praise. It seems to solve a lot of the memory problems Rust solves, albeit in a different way. Its first-class arrays and strong type system seem to go a long way into not having to deal with pointers often, for example. These &quot;features&quot; today would likely be considered part of &quot;a better C&quot;, except that none of this is even new; ADA dates all the way back to the 80s. And then ADA&#x2F;Spark allows for formal verification, which C&#x2F;Rust do not have to my understanding.<p>Why is ADA not adopted more broadly?
评论 #24490302 未加载
评论 #24492381 未加载
评论 #24490294 未加载
评论 #24489562 未加载
评论 #24490004 未加载
评论 #24489637 未加载
评论 #24491089 未加载
评论 #24490454 未加载
评论 #24489791 未加载
评论 #24491101 未加载
评论 #24489408 未加载
评论 #24489820 未加载
评论 #24489969 未加载
评论 #24490060 未加载
评论 #24492404 未加载
评论 #24489418 未加载
评论 #24490801 未加载
评论 #24493869 未加载
评论 #24492361 未加载
评论 #24490641 未加载
评论 #24489428 未加载
acomjeanover 4 years ago
At the beginning of the century I worked at a company that used Ada for radar software. As it became clear the hpux and Solaris (pa-risc and sparc) where being replaced by Linux On x86 and my company had AdaCore come in and do training in the new toolset (rational not providing Ada compilers for Linux)<p>AdaCore were quite knowledgeable as a company company offering a supported vendor of gnu Ada. I think they’re Still involved heavily in the development of the free ada compiler “GNAT” (part to gcc)<p><a href="https:&#x2F;&#x2F;www.adacore.com&#x2F;get-started" rel="nofollow">https:&#x2F;&#x2F;www.adacore.com&#x2F;get-started</a><p>Defense companies liked open source vendors to take risk off and I’m not sure how it worked but some Ada compilers were “validated”<p>I grew to like Ada, (it has some warts, strings for example, but we didn’t use them often)<p>GNAT Wikipedia page. <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;GNAT" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;GNAT</a>
blippageover 4 years ago
I&#x27;ve never written in Ada, but I did come across m2os the other day: an Ada-based system for Arduino Uno microcontroller (and a couple of others) that features a simple scheduling policy.<p>This is actually quite intriguing: a language that includes the concept of tasks at the language level, rather than trying to hammer in a bunch of macros or somesuch into C to achieve a similar result.<p>It makes you wonder if Ada really ought to be the &quot;next&quot; system programming language instead of Rust.
评论 #24532347 未加载
评论 #24491539 未加载
1ba9115454over 4 years ago
There&#x27;s an online book for Ada for anyone that&#x27;s interested in what it looks like. <a href="https:&#x2F;&#x2F;learn.adacore.com&#x2F;courses&#x2F;intro-to-ada&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;learn.adacore.com&#x2F;courses&#x2F;intro-to-ada&#x2F;index.html</a>
nraynaudover 4 years ago
It has to be said that Adacore is a French company, there is more to it than just a technical decision
评论 #24532306 未加载
na85over 4 years ago
I don&#x27;t care at all for the underscore-heavy style but otherwise Ada is actually a great language for developing high-reliability systems like avionics. Formal specification and verification are only going to grow more important in aircraft certification as time goes on.<p>Nice to see the defense&#x2F;aerospace sector giving a nod to free software like gnat.
CraigJPerryover 4 years ago
Ada 95 was the language for 1st year Comp Sci at the University of Glasgow at the start of the millennium. There was a small revival in Ada at that time.<p>I remember the first lecture introduced a little graphical rocket simulation in Ada and us students would write code to land the rocket. I liked that.<p>Then i think the semester after this they introduced us to Haskell (ghc = Glasgow Haskell Compiler). Another good course but one i wished i’d paid more attention to at the time!
评论 #24491156 未加载
评论 #24492311 未加载
ogre_codesover 4 years ago
I&#x27;m not sure if this is still the case, but one of the reasons I learned Ada in college is because it was used by the DOD. I&#x27;m not sure if it&#x27;s still a requirement for DOD projects, but I believe it was at the time. Which would perhaps explain why Airbus chose Ada. Either that or simply the engineers who are on the project were exposed to&#x2F; used Ada during other DOD projects.<p>Since college, I&#x27;ve never touched it again.
评论 #24489709 未加载
评论 #24493113 未加载
etaioinshrdluover 4 years ago
Does anyone use Ada for general purpose programming, like for where one might otherwise use Python, Go, nodejs, or something like that? Is it used for any low-reliability areas?
评论 #24490572 未加载
评论 #24532528 未加载
评论 #24490534 未加载
评论 #24490427 未加载
评论 #24491217 未加载
theamkover 4 years ago
That&#x27;s certainly one way to minimize amount of code in the system, making it easier to review and presumably certify.<p>I feel that with more common languages, it is so easy to grab some open-source library and use it without any code review whatsoever. Even if you prohibit third-party code, there might still be some copy-paste from open source projects and even Stack Overflow.<p>Mandating that everything is written in Ada language neatly prevents all this stuff.
评论 #24489397 未加载
评论 #24489388 未加载
marsRoverDevover 4 years ago
Airbus seems to use ADA mainly for drone software. Everything else is MISRA C, or MISRA C with a layer of abstraction overlaid that allows for generation of assembly from the same codebase as well.
评论 #24491408 未加载
anderspitmanover 4 years ago
The first real programming task of my apprenticeship when I was 17 was porting a Boeing Ada avionics project to C. Looking back years later that just feels wrong.
评论 #24532420 未加载
rbanffyover 4 years ago
Can we also get a Rational R1000 to work with? ;-)<p>Looked impressive.
Autowiredover 4 years ago
To my shame I had never tried ADA before, but after a cursory look I find the syntax similar to Oracle&#x27;s PL&#x2F;SQL, which evokes many bad memories. I am sure I will be able to enjoy the language once I pass this barrier.
ggmover 4 years ago
Pascal &lt; modula &lt; ada
评论 #24491555 未加载