Unofficial Hacker News companion — get notified on comment replies, and more.

Unkernel: Real Linux kernel, compiled to WebAssembly (opens external site)

622 points by nreece 5 days ago | unkernel.dev | 172 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (4)

  1. 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!)

    Replies (3)
    1. +1 for this if it can effectively work but I'd recommend 2 different things.

      1.) Whether its through wine emulation where although there is some parity, one can say that there can be software which can detect that it's running in a wine.

      2.) Somehow emulating it on a more deeper level. Like, my use case for this (especially with what you mention of webusb) is sort of that I had a redmi phone which I wanted to root but I genuinely couldn't because it required me to have windows and I tried so many things but it really really failed to work as within the vm's it didn't detect my phone for some reason.

      I just didn't want to install windows on my main pc which btw is so time consuming to download and then setup only for this use case. I am far away from windows and I tried almost everything in some sense to make it work but I just straight up couldn't make it work.

      All I wanted was a place where I can just root the phone because it was a bloated piece of software and I wanted something faster in my daily life.

      And I imagine that something similar might be happening for printers and other devices where windows are still used as well.

      Fzakaria has been on a grind lately, so lets hope he builds something which can fix this issue as well! Browser is also just the perfect target for sort of this ephemeral sandbox type of thing imo.

    2. For USB passthrough checkout https://github.com/gbl08ma/waarm64

      It was posted recently and is similar in idea to unkernel but it goes further in virtualizing the hardware (and thus can run unmodified Linux kernels). Raw CPU performance is better but it uses more resources.

      For a very rough comparison I like to think of it as unkernel is more like docker (kernel doesn't matter, you just want to run an app) while waarm64 is more like a real VM.

      It's just so cool seeing the different approaches made possible using wasm and LLMs.

    3. Send me an email.