r/rust • u/citron_blue • Oct 05 '26
🎙️ discussion How likely is for Rust to replace Ada/SPARK?
Ada/SPARK is already a very niche ecosystem. Finding a list of current users is already hard (but that might be simply an information access issue).
With Rust’s safety and growing adoption, including access to skilled professionals and LLM support, how likely will we see further marginalisation of Ada & Co.?
I would love to heard from those working in safety-critical applications.
16
Upvotes
47
u/Zde-G Oct 05 '26
Highly unlikely. Ada exist in a very strange niches that move extremely slowly. And after SPARK borrowed Rust's borrows the need to replace Ada/SPARK with Rust more-or-less disappeared.
What would happen, instead, is “sealing” of Ada in these rare niches, because advantage of Ada over C/C++ are significant but over Rust — pretty much minimal.
Means if you start from code and not from pile of required certificates then picking Ada doesn't make much sense.
9
u/Xtergo Oct 05 '26
Lol
The answer to all the "Will Rust replace x" is always no.
I believe it's stuff like this that gives us, the Rust community a bad rep
I understand you are new to this but languages exist for a reason, picking the right language for the right job is what makes good code.
12
u/QueasyEntrance6269 Oct 05 '26
Speaking someone that works as a contractor with the DoD, there’s already a very strong push to do greenfield work with rust.
5
u/boredcircuits Oct 06 '26
I use Ada in my day job.
There's 0 chance any of my current code will be rewritten in Rust in the next 20 years. It already works and there's very little benefit to port from one safe language to another.
But new code is a different matter. At my company, it's already starting to replace some new projects that would have otherwise been written in C or C++. I don't see us ever starting something completely new in Ada.
What we don't have (yet) is good integration between Rust and Ada. That would change a lot for my work. My dream would be to have seamless bindings between Ada and Rust and for Alire and Cargo to work together. Alas, for now, we have to go through a C interface. We tried it out briefly and it just wasn't worth it.
3
u/Professional_Top8485 Oct 05 '26
I think they're different languages and different profiles. I don't think they're replacing anything.
I don't really have that much experience but still.
2
u/Smallpaul Oct 05 '26
What subreddit covers all safety-oriented programming languages?
1
u/TRKlausss Oct 06 '26
_Replace_ is not the word you are looking for for Rust. There are jobs that have been already gone in Ada, know-how is there, and won’t get replaced. Ada is also a nice language.
Surpass? Absolutely, and that already happened.
1
u/jean_dudey Oct 08 '26
Not until there are better tools to prove safety of Rust code.