The robustness of Linux is widely acknowledged, but it can’t quite match the microsecond management of a real-time operating system (RTOS) for time critical situations such as CNC machine instructions, vehicular control, or health sensor collection. If your software must record, manage, or control events within a narrow and precise time window and you’re invested in Linux for core development, you can consider some of these strategies for handling time-critical tasks without abandoning your familiar environment.
I remember hearing about this in the context of space missions, Linux just isn’t a good fit for critical systems
Yeah, space software is crazy restrictive. I read they don’t allow you to allocate ANYTHING on the heap. It’s all static stack-based all the way.
A 10 year long memory leak on the way to Pluto isn’t a good thing I guess…
The new mars helicoptor, ingenuity, runs linux.
https://www.theverge.com/2021/2/19/22291324/linux-perseverance-mars-curiosity-ingenuity
https://news.ycombinator.com/item?id=26181763
Dunno if future one’s will run linux though, since this is just an experiment.