|
|
|
|
|
by laurencerowe
9 hours ago
|
|
Interesting article! > Why bother with a hypervisor when you can just compile to Wasm and boot the identical binaries on anything I’m not convinced hypervisors are going away because they present a far smaller attack surface than a JIT Wasm runtime. One thing that’s unclear to me is what advantage compiling the Linux Kernel to Wasm provides when user land is still emulated over running the Linux kernel itself in the emulator. |
|
The attack surface for VMs in the kernel is quite large - the whole KVM system and related qemu/other VMM functionality (user space drivers of all sorts etc).
Yes a JIT Wasm runtime is not ideal but wasm in general is very robust and safe. Before a module is added to the rest of the wasm/javascript code, it is validated by a wasm checker. If is is malformed in any way it will be rejected