←back to thread

252 points Klasiaster | 3 comments | | HN request time: 0s | source
Show context
weinzierl ◴[] No.41853874[source]
Decades ago Linus Torvalds was asked in an interview if he feared Linux to be replaced by something new. His answer was that some day someone young and hungry would come along, but unless they liked writing device drivers Linux would be safe.

This is all paraphrased from my memory, so take it with a grain of salt. I think the gist of it is still valid: Projects like Asterinas are interesting and have a place, but they will not replace Linux as we have it today.

(Asterinas, from what I understood, doesn't claim to replace Linux, but it a common expectation.)

replies(4): >>41853994 #>>41854663 #>>41856026 #>>41857123 #
linsomniac ◴[] No.41854663[source]
I feel like there's a potentially large audience for a kernel that targets running in a VM. For a lot of workloads, a simple VM kernel could be a win.
replies(3): >>41855296 #>>41856571 #>>41857226 #
yjftsjthsd-h ◴[] No.41855296[source]
How is that different from Linux with all virtio drivers? (You can just not compile real hardware drivers)
replies(1): >>41855781 #
1. m463 ◴[] No.41855781[source]
I would imagine that virtualized device drivers would have a well-defined api and vastly simplified logic.
replies(2): >>41855928 #>>41857243 #
2. yjftsjthsd-h ◴[] No.41855928[source]
I imagine they do. But given that Linux has those simple drivers, why not use them?
3. prmoustache ◴[] No.41857243[source]
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?