←back to thread

521 points OlympicMarmoto | 1 comments | | HN request time: 0.208s | source
Show context
armchairhacker ◴[] No.45067092[source]
What would be the real advantage of a custom OS over a Linux distribution?

The OS does process scheduling, program management, etc. Ok, you don’t want a VR headset to run certain things slowly or crash. But some Linux distributions are battle-tested and stable, and fast, so can’t you write ordinary programs that are fast and reliable (e.g. the camera movement and passthrough use RTLinux and have a failsafe that has been formally verified or extensively tested) and that’s enough?

replies(6): >>45067184 #>>45067419 #>>45067428 #>>45069530 #>>45072115 #>>45072878 #
1. raggi ◴[] No.45072115[source]
For this use case a major one would be better models for carved up shared memory with safe/secure mappings in and out of specialized hardware like the gpu. Android uses binder for this and there are a good number of practical pains with it being shoved into that shape. Some other teams at Google doing similar stuff at least briefly had a path with another kernel module to expose a lot more and it apparently enabled them to fix a lot of problems with contention and so on. So it’s possible to solve this kind of stuff, just painful to be missing the primitives.