I like 'C', but I'd never get in an aircraft where a 'C' compiler was used for anything other than the in-flight entertainment system.
I like 'C', but I'd never get in an aircraft where a 'C' compiler was used for anything other than the in-flight entertainment system.
There are multiple static analysis frameworks for verifying C code in aviation; Frama-C and Astrée just to name two.
https://frama-c.com/html/overview.html
If you've ever got in an aircraft it's too late, you've almost certainly been in one using C for flight control functions.
Almost all, if not all, firmware is in C.
Also, not to mention every operating system.
I really don't know where the "bugs are horrible" argument grounds itself on. I've worked on large C, rust, go, python and even Haskell codebases. Everyone of them had their share of super corner case bugs.
The systems which use the simplest concepts and tools tend to have the least bugs cause they are more readable and hence fixable.
And since most companies keep failing at achieving the quality that random C coders say it is so easy on the Internets, provided one is a good C coder with discipline, now we have cybersecurity bills that in the long run will make any application making use of C or derived languages, be under similar control as MISRA and friends.
Alterantively, one can use a safer language and not be so strictly regulated, as per those cybersecurity guidelines.
So I take it you've never been in an airliner?
Enjoy walking, I guess.