←back to thread

327 points AareyBaba | 1 comments | | HN request time: 0.357s | source
Show context
chairmansteve ◴[] No.46186180[source]
Ahhh. They use C++.....

That explains all the delays on the F-35....,

replies(2): >>46186200 #>>46186365 #
riku_iki ◴[] No.46186365[source]
what would be so obviously better choice of language in your opinion?
replies(2): >>46186432 #>>46189941 #
throwaway2037 ◴[] No.46186432[source]
You raise a good point. No trolling: I wonder what languages they seriously considered? Example: I am sure the analysis included C in the mix. Also, I wonder if they considered compiler extensions. Example: Since C doesn't have destructors, maybe you could add a compiler extension to add the defer keyword to allow people to schedule object destruction. Even when they decided upon C++, I am sure there was a small holy war to decide what features were allowed. When they started the JSF programmed in the 1990s, C++ compilers were pretty terrible!
replies(2): >>46186452 #>>46186588 #
1. riku_iki ◴[] No.46186452[source]
My recollection is that traditionally they used Ada for avionics, but per some internet claims they had difficulties to hire enough Ada programmers for such large projects, so switched to C++.