Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Or replace all with zig.


Airbus writes all their flight control software in C, but it's not C as you would find in say your Linux distro, more like a tightly controlled subset of C with its own compilers, toolchains and formal verification. So they're already writing it in a different language, just one that superficially looks like C.


Airbus do seem to use Ada for some things:

Airbus Chooses GNAT Pro Ada for Development of Unmanned Aerial System https://news.ycombinator.com/item?id=24488986

https://www.adacore.com/press/a350

https://www.adacore.com/press/airbus-selects-gnatpro-for-vsr...


Totally makes sense to choose Ada (definitely not a new language!) for green field development. But as I understand it, the Airbus flight control systems are millions and millions of lines of "C", and they ain't getting rewritten any time soon or probably ever. However they do invest a lot in toolchains and formal software verification (in Newport, Wales).



I believe so, but not the upstream version, via their commercial partner: https://www.absint.com/


Zig's safety is at the level of Object Pascal, Modula-2 and similar.

Way better than plain old C, yet there are some weaknesses on the armour, and we know better since AT&T's Cyclone project.


I would advice against writing safety critical software in a software that has yet to get a stable release.


Right. If you want a safer language than C for your safety-critical embedded code, the obvious choice is Ada. The article even mentions Ada specifically.


How does one make an REST Service using Ada without paying for frameworks/tools?


No doubt you could implement a modern web API in Ada, but you wouldn't really be playing to Ada's strengths. Ada is more commonly associated with safety-critical embedded work than with web development.

Ada Web Server (AWS) [0][1] is Free and Open Source software, but that framework doesn't seem to get much use, and it doesn't inspire confidence that [0] mentions SOAP but doesn't mention JSON. I'm not aware of any proprietary/payware Ada web server solutions.

[0] https://www.adacore.com/gnatpro/toolsuite/ada-web-server

[1] https://github.com/AdaCore/aws


Using Ada efficiently just requires too much $$$ for small projects.


We're talking about developing safety-critical software. C and Ada have their pros and cons, but Zig isn't even in the running.


Yes, rewriting all the world's software in boutique untested languages is surely the way to write safe and reliable software.

Because, you know, all the crusty idiots writing software before you didn't know about the wonders of syntactic sugar and automatically installed dependencies.


Today boutique languages are those that target PDP-7.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: