Genuine question: why would WASM in the kernel make any sense at all?
Genuine question: why would WASM in the kernel make any sense at all?
Hardware implementation runs code faster (kind of "executes more instructions per second"), but switching from user-space into kernel-space and back are costly. The costs are very high, high enough to projects like "user-space TCP/IP stack" start popping up: it is all about avoiding switching to and from kernel-mode.
Software implementation of sandbox in the kernel allow costless (or near costless) switching of context, but runs slower. It is tradeoffs, and not every one piece of software would benefit from moving into kernel-WASM, but some would do.
I'm very skeptical of the idea of throwing out virtual memory and process isolation to depend instead only on software sandboxes.