← Back to context

Comment by yjftsjthsd-h

11 hours ago

How is that different from Linux with all virtio drivers? (You can just not compile real hardware drivers)

The point is it would be better than Linux in whatever way that was the reason you were writing it, but you don't have to write hundreds of different device drivers to make your cool new kernel usable.

If it's written in rust, you might expect less security vulnerabilities (especially if the codebase is also smaller: NB this is potentially counterbalanced by the many eyes on linux). Maybe there would be some extra features you find useful.

I would imagine that virtualized device drivers would have a well-defined api and vastly simplified logic.

  • Shouldn't we start building hardware that have a builtin translation layer that makes them driveable by virtio drivers themselves? At least for the most capabilities?