Hacker News new | ask | show | jobs
by pjc50 1200 days ago
> 1. The purpose of the OS would be to run microservices only

Ah, a microkernel approach! It's not a bad idea but tends to lose out in performance terms.

> Some interim solution for providing sockets would have to be built until wasi spec supports it

With a little ambition, and an inter-process communication framework, you could have a "network card microservice" that's got access to the PCIe registers and takes packets in and out. You could then either do "user-mode networking" in the application or run a normal IP stack to hand out packets to more normal looking sockets.

> No file system, no writing to disc

No reason why you can't write a NVMe driver in WASM...