When explaining linux to skeptical non-techies, I tell them it's the OS running the nuclear submarines right now. Suddenly they're more confident it can handle their ecommerce dashboard.
That's a bit of a mistatement/overstatement. That's like saying the Windows XP thin-client at Barnes and Noble runs the, mostly Linux/Unix, backend.
For US nuclear subs: All of the core components and electronics use a custom RTOS; older ones built in Ada, newer ones built in C++. The "control computers" (the computers that humans interface with to tell core components what to do) aren't running anything like Ubuntu or Fedora, but instead run a heavily ruggedized and customized Linux system based on the Titanium suite from Star Lab.
For UK subs, they run a similar custom OS for the modules and electronics and (until 2017 or so, at least) run Windows XP for their control computers.
I have no idea what other nations use; but I would assume they are similarly setup.
That's not to disavow the fact that clearly the US govt trusts those Linux computers to be reliable, thus their investment in them. So it is an accomplishment, they just don't "run" anything.
> (the computers that humans interface with to tell core components what to do) aren't running anything like Ubuntu or Fedora, but instead run a heavily ruggedized and customized Linux system based on the Titanium suite from Star Lab.
That’s not to be minimized. Sounds like very much on the critical path, and definitely not some shitty infotainment sidecar. If that crashed, you couldn’t control core functions of the sub? Are there overrides?
Btw, thanks for sharing these details. I would never have learnt this. Love HN sometimes.
> That’s not to be minimized. Sounds like very much on the critical path, and definitely not some shitty infotainment sidecar. If that crashed, you couldn’t control core functions of the sub? Are there overrides?
Sure, it's an important component of the entire system. Much as a steering wheel is an important component of a car, it still doesn't "run" the car. You need to interface, yes obviously; but if the machine crashes the sub operates merrily along like usual and any of the other control computers can continue to give it commands.
As to overrides, if you lost every single control computer and the direct interfaces (the analog control boards you see in crucial areas of naval vessels) then the overall system has a fallback procedure. It's not documented or public knowledge, but assumedly it would surface and activate an emergency beacon as the vessel is crippled (and likely damaged) at that point.
If the goal of such parallel is to show how Linux is more reliable than Windows, then being the steering wheel is sufficient, compared to Windows not being a part of the car at all.
> For UK subs, they run a similar custom OS for the modules and electronics and (until 2017 or so, at least) run Windows XP for their control computers.
When explaining linux to skeptical non-techies, I tell them it's the OS running the nuclear submarines right now. Suddenly they're more confident it can handle their ecommerce dashboard.