News for hackers. Stuff that matters.
Re:Cervus: A WebAssembly subsystem for Linux by zaarn on Wednesday May 30, 2018 @02:28AM (#17185524)
WA in the kernel could lead to drivers being established as WA code with special interfaces. With safe interfaces to stuff like PCIe devices, the linux kernel could transform into a more hybrid kernel, similar to NT. Many funs to be had!

I imagine it could also be useful to run user programs without having to switch rings all the time...

Re:Cervus: A WebAssembly subsystem for Linux by sime2009 on Wednesday May 30, 2018 @04:50AM (#17186130)
> I imagine it could also be useful to run user programs without having to switch rings all the time

That is pretty much exactly what this project is aiming at:

"Cervus implements a WebAssembly "usermode" on top of the Linux kernel (which tries to follows the CommonWA specification), enabling wasm applications to run directly in ring 0, while still ensuring safety and security."

Re:Cervus: A WebAssembly subsystem for Linux by jacobush on Wednesday May 30, 2018 @08:47AM (#17187222)
Reminds me of how Forth was supposed to be the language for drivers and such, write once, run everywhere drivers.