Server cluster

Unkernel Runs Linux Inside a Single Browser Tab

A project called Unkernel packages a Linux kernel as a WebAssembly module that runs directly in a web browser. It can host Ubuntu and Alpine packages without extra setup.

Unkernel Runs Linux Inside a Single Browser Tab
Source: Hackaday

Linux once arrived on CDs and DVDs attached to the covers of computer magazines. Today, a full kernel can run inside a web browser, and Unkernel, created by [pithings], is a clear example of that shift. The project describes itself as Linux 7.x built as a single WebAssembly module with an MMU.

According to the description, the core kernel functions, including system calls, the scheduler, memory management, file systems, and networking, are compiled code. User programs are run through a just-in-time compiler, which allows Ubuntu and Alpine packages to be used without much effort. Users get a shell, a package manager, persistent storage, sound, and internet access. The result works as a complete Linux environment contained in one browser tab.

Performance is lower than running the kernel natively, but it is still reasonably close, which makes the project useful when someone needs a quick Linux environment on the go. Hackaday also notes that Linux has been appearing in unusual places recently, and it invites readers to send in other examples of kernels running where they are not expected.

Source: Hackaday


Posted

in

by