But there are also a lot of drawbacks of RTOS systems, no? Just searching "Real-time operating system downsides" shows a lot of drawbacks that makes it seem like a poor fit for a general-purpose OS: multi-tasking is limited, it's less efficient, and much more complex. There are certain use-cases where this is a good trade-off, but for my desktop OS? Probably not.
snvzz|5 years ago
It depends on the implementation. Most protected RTOSs are vastly inefficient but it doesn't have to be so.
For an example, many multitasking RTOSs do reserve CPU time for the "important" tasks, whether they use it or not. That's the industry standard for "mixed criticality", where less and more critical tasks share the same CPU.
But there's better ways to do this. Refer to the seL4 whitepaper[0].
>desktop OS
I'd rather not WaitForever™ for the computer to react to my input due to unbounded latency on my Desktop OS. We might be used to trash responsiveness, but interacting with a computer does not have to be this bad. We should stop pretending non-RTOS systems are okay to build a desktop around.
[0]: https://sel4.systems/About/seL4-whitepaper.pdf
Carpetsmoker|5 years ago