this post was submitted on 12 Apr 2026
596 points (99.0% liked)
Programmer Humor
31275 readers
1958 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It would be nice to have a distro with some basic flight control drivers preconfigured so we didn't have to build from scratch for every airframe. Maybe wouldn't get the same performance profile as proprietary drivers but something that could get off the ground. It could even be called AvioNix.
This doesn't happen "on a distro" because all of the different software functions are at different safety criticalities. The autopilot is (usually) level B, the air data system that delivers altitude and airspeed is level A, the navigation computer is level C (because pilots can still navigate without the aid of the computer). And so on.
At level C, the standard is statement coverage with unit tests. At level B, it's decision coverage, covering every branch. And at level A, it's modified condition / decision coverage, which is a lot more complex and expensive to write.
If you mix code for stuff at different levels, you have to develop the whole package to the highest level. Unless you can prove that the lower level code can't interfere with the higher level code.
The easiest way to prove that is to put the different levels into different computers, so they're only talking to each other on some digital bus interface. That's called "hardware partitioning". There's also "software partitioning", but it requires an operating system or supervisor layer to provide the guarantees, and that operating system has to be developed to the highest safety level that it handles.
Final result: you still see a lot of discrete computer boxes on airplanes. Various vendors have developed safety-critical OSes for main avionics computers, but they're closed-source, and usually not based on Linux at all.