4 ms·
Weirdly, avionics development seems to be moving away from Ada toward C! I personally think something like OCaml would be a better choice... I think the proble
by tjr 12y ago
Weirdly, avionics development seems to be moving away from Ada toward C! I personally think something like OCaml would be a better choice...
I think the problem is, there is so much momentum built up around Ada and C usage in the avionics world that there just isn't the infrastructure and culture built up around better languages, so it's hard to make the switch. Even if you have to write a brand new codebase for some small avionics project, how do you justify the expense of doing it all in OCaml when there is already certified compilers and support for Ada?
It ought to happen, though.
- en4bz 12y agoYes, cause one definitely wants "Stop the World" GC in a real-time system.
- tjr 12y agoRight, that was unclear. Languages that rely on garbage collection can't realistically be used in flight. "Something like OCaml" but with manual memory management might be better than Ada. But with recursive functions also frowned upon in avionics, a lot of the fun of OCaml might be drained...