‹ BackHN Continuity

Thread

Show HN: NSL – WSL for Linux

167 points · 111 comments · bketelsen

  1. 0x457 · · focus · HN ↗
    I'm confused why VM + systemd-nspawn? From my understaing WSL 2 runs a single VM + something like systemd-nspawn per "linux installation", but it runs a VM because it needs linux kernel. Why not just do systemd-nspawn if you alread on linux?
    1. bketelsen · · focus · HN ↗
      you could, and if that&#x27;s your preference <a href="https:&#x2F;&#x2F;nspawn.org" rel="nofollow">https:&#x2F;&#x2F;nspawn.org is just right.
      1. 0x457 · · focus · HN ↗
        Neat, I wasn&#x27;t aware of this tool. I just either run nixosContainer in systemd-nspawn or OCI image in systemd-nspawn.
      2. bityard · · focus · HN ↗
        I was surprised I hadn&#x27;t heard of this as a separate tool from systemd-nspawn. Then I realized why... the GitHub repo shows version 0.6 released in 2022, then version 1.0.0 last week, followed by a flurry of releases up to 1.8.0 yesterday.

        So basically, it&#x27;s been all Claude&#x27;d up extremely recently.

        That said, the landing page, docs, and git README are much higher quality than I normally see out of LLM-generated projects, so at least the author knows how to reign in the needless verbosity and write for a technical audience. So I will give him credit for that at least.

        1. edu4rdshl · · focus · HN ↗
          nspawn maintainer here. Yes, it has been done with the help of AI (the README has a clear AI usage disclosure), but I have been writing Rust code since a very long time ago, before agentic coding was a thing (you can check my GH profile). Every change is reviewed by me, and the architecture&#x2F;implementation is dictated by me as well.

          Ideas&#x2F;issues&#x2F;PRs are welcome.

      3. edu4rdshl · · focus · HN ↗
        Any issues&#x2F;features requests are welcome. Thanks for bringing it up here.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.