A real Linux kernel, compiled to WebAssembly
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
unkernel, an open-source project by Pooya Parsa, compiles Linux 7.x to a single WebAssembly module with a real MMU and runs unmodified riscv64 binaries on a JIT-backed emulator, so Alpine boots to a shell in the browser or via npx. The README reports near-native syscalls (about 170 ns for getppid) and fork at about 60 µs, but CPU-heavy code stays well behind native. These figures are the author's own and unsourced. An MIT-licensed TypeScript SDK lets developers embed it, though it has one CPU and limited networking.