• fl42v@lemmy.ml
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      11 months ago

      Wsl2? It’s a VM. As for wsl1… Not sure, mb smth wine-ish.

      • NekuSoul@lemmy.nekusoul.de
        link
        fedilink
        arrow-up
        14
        ·
        edit-2
        11 months ago

        The way WSL1 worked is actually quite interesting: The NT kernel always had the capability to run multiple subsystems, with Win32 only being one of them and there were subsystems available for OS/2, POSIX and later UNIX. WSL1 was pretty much a revival of that feature. So WSL1 is indeed somewhat like Wine, but making heavy use of some features built into the kernel. So yeah, no real boot process happening.

        (Also it’s kinda stupid that the ‘S’ in WSL2 still stands for ‘subsystem’, despite not using that feature anymore.)

        • lightnegative@lemmy.world
          link
          fedilink
          arrow-up
          9
          ·
          11 months ago

          I liked the WSL1 approach better. I find it ironic that the Windows kernel lacks so many useful features that it simply wasn’t possible to properly implement things like cgroups on top of it, so they just gave up and ran Linux in a VM for WSL2