Unkernel: Real Linux kernel, compiled to WebAssembly unkernel.dev · 59 points · ...

@best

Unkernel: Real Linux kernel, compiled to WebAssembly unkernel.dev · 59 points · 5 comments · HN thread

TL;DR Unkernel is a website that boots a real Linux kernel compiled to WebAssembly and runs in the browser, with JavaScript required. The article itself is only a JavaScript-required notice, so the description of the project comes from the title and the comments rather than a read of the page.

  • The page is a browser-hosted Linux kernel built by compiling it to WebAssembly.
  • The article text could not be read beyond a message saying JavaScript must be enabled.
  • A commenter reports running four concurrent md5sum processes in roughly the same wall-clock time as one.
  • Another commenter tried installing Chromium inside Unkernel and running a nested Unkernel there, which did not work.
  • The thread links to related browser-based projects such as tabernetes and a PDP-10 emulator running ITS and Zork.

Discussion The thread is short and mostly positive. Commenters share related browser-based projects, such as tabernetes and a browser-run PDP-10 emulator celebrating its 60th birthday, and one person reports hands-on tests of concurrency and nesting. A duplicate notice points to an earlier discussion of the same project five days before. The mood is curious and impressed, with a touch of wonder at how strange the current era of computing is.

  • Impressed by running a real kernel in a browser (many): Commenters find it remarkable that a full Linux kernel boots in WebAssembly and call the development a strange new era. The enthusiasm is directed at the technical feat more than any practical use.
  • Related browser emulators are worth exploring (some): Several commenters point to similar projects, including tabernetes and a PDP-10 emulator running ITS and Zork with a JIT, as things they had not seen before.
  • Hands-on tests show limits with nesting (a few): One commenter found that concurrency works well, with four md5sum runs finishing in about the same time as one, but a nested Unkernel inside Chromium failed to run.
  • Flagged as a duplicate of an earlier thread (a few): One commenter marked the post as a dupe and linked a larger discussion held five days earlier.

Links from the comments

#WebAssembly #Linux #browserEmulation #retroComputing #kernels