←back to thread

252 points Klasiaster | 7 comments | | HN request time: 0.204s | source | bottom
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 #
1. 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 #
2. 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 #
3. 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 #
4. yjftsjthsd-h ◴[] No.41855928{3}[source]
I imagine they do. But given that Linux has those simple drivers, why not use them?
5. pjmlp ◴[] No.41856571[source]
This is already the reality today with native cloud computing, managed runtimes.

It doesn't matter how the language gets deployed, if the runtime is on a container, a distroless container, or directly running on an hypervisor.

The runtime provides enough OS like services for the programming language purposes.

6. prmoustache ◴[] No.41857226[source]
this x1000

Provided you have virtio support you are ticking a lot of boxes already.

7. prmoustache ◴[] No.41857243{3}[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?