Unkernel: Real Linux kernel, compiled to WebAssembly

(unkernel.dev)

128 points | by nreece 3 hours ago ago

9 comments

  • anilgulecha an hour ago ago

    if @fzakaria // pooya are taking requests - a good usecase would be to enable windows programs in the browser (connect webUSB are we're golden for a long tail of various devices software).

    So essentially open browser - drop installer exe, and it saved on the local disk. and next time you open the tab, you continue the program with it's data.

    (Last time I made a request, it was vibed in a day!)

  • reneberlin 3 hours ago ago
  • a012 13 minutes ago ago

    This requires iOS 27

    > On iPhone and iPad every browser (Safari, Chrome, Firefox, …) uses the system WebKit, so JSPI depends on the iOS version: update to iOS/iPadOS 27 or later. This is Safari 18.

  • dqh 3 hours ago ago

    Had some fun testing the concurrency. Was able to execute 4 concurrent md5sums with the same wall clock duration as a single process. Then tested installing Chromium and trying to run a nested Unkernel within that, which didn't work.

    Amazing. What a strange era we are entering.

    • logicallee an hour ago ago

      You could try running one of the other ones people posted. You can also try it in Firefox. Since Unkernel provides a Linux kernel and supports aarch64, one of the browsers should be able to run one of those, maybe one of the simpler ones. Here is the other comment in this thread: https://news.ycombinator.com/item?id=50674542

      another one they didn't mention: https://trynix.dev/

      Since this thread is about Unkernel, you might be interested to know I got Doom running in it in realtime (with ascii graphics, but still):

      https://news.ycombinator.com/item?id=50602937

      Not saying that a modern browser is simpler than Doom, but still, I think you might be able to get one of those to load. Someone successfully ran Postgres, which is very large and complicated.

      Edit: nested, I was able to get as far as starting the smallest package I could find on trynix.dev, I just put in nano and then loaded the earliest version I could find. Here are the steps:

      1. on your own computer open a tab in Chrome or Firefox and go to unkernel.dev and wait for it to load.

      2. in the shell inside unkernel type:

          chromium
      
      This downloads and starts it within the Linux environment your tab is running! It is very fast.

      3. In the nested Chromium tab (inside unkernel.dev), go to trynix.dev and look for a very small package, for example nano and scroll down to an early version, select it and click boot.

      It will then boot, so now you're running unkernel within unkernel. I got this working on a 2026 Mac mini. (24 GB of RAM).

  • yieldcrv 16 minutes ago ago

    woah, taxiing on the tarmac and this just loaded in my phone browser in a couple hundred milliseconds

  • rvz 3 hours ago ago

    This is a [dupe]. See previous larger technical discussion here (5 days ago): https://news.ycombinator.com/item?id=50533945

  • DonHopkins 2 hours ago ago

    https://news.ycombinator.com/item?id=50673082

    Happy 60th Birthday to PDP-10, running ITS and Zork

    https://hyperties.org/machine/games/zork/

    Machine Room is a browser based emulator with a Korz based JIT. To celebrate the PDP-10's 60th birthday here's a PDP-10 running ITS with ZORK, MACSYMA, MACLISP, and lots of other software. Here's a demo of the PDP-10 emulator running ZORK on ITS, Apple ][ emulator running Little Computer People, and PDP-7 emulator running Unix.

    Video demo of Zork on PDP-10 and Apple ][, including free Korz 6502 and PDP-7 JIT demos:

    https://www.youtube.com/watch?v=dYYwzfPWJWE

  • behnamoh an hour ago ago

    CRAZY! What is this sorcery? I'm just baffled at how buttery smooth this is. You know what it tells me? macOS is so fucking bloated that a Linux on WebAssembly in a fucking browser with 2GB RAM runs better than the host macOS where the browser is running.