Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Linux
  3. Has anyone tried WSL on Windows ARM?

Has anyone tried WSL on Windows ARM?

Scheduled Pinned Locked Moved Linux
15 Posts 10 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined@lemmy.hogru.chU [email protected]

    Why did they give up on the wine-like approach? That seems so much better than running an entire VM (not even a Microsoft person but still).

    G This user is from outside of this forum
    G This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #5

    I think it's more convenient to their overall design of modern Windows, IIRC by default it'll install the running version of Windows to a hypervisor also. For their purposes, for the majority of users, there would be little to no performance losses.

    1 Reply Last reply
    0
    • undefined@lemmy.hogru.chU [email protected]

      Why did they give up on the wine-like approach? That seems so much better than running an entire VM (not even a Microsoft person but still).

      I This user is from outside of this forum
      I This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #6

      I remember a lot of things were not working. For example I was a GNU screen user, and no terminal multiplexer could work at that time in WSL1. They added support to tmux after a while and I switched to that and never switched back, rest is history....

      The point is just like how not everything working ootb in wine, the same is true for the other direction.

      They would have to invest more work which costs money, but if they just ship the linux kernel, which is already written, and the users already bought big ssds and have highspeed internet, so they could just use that for free, it makes more sense, and makes more money to the shareholders

      1 Reply Last reply
      0
      • undefined@lemmy.hogru.chU [email protected]

        Why did they give up on the wine-like approach? That seems so much better than running an entire VM (not even a Microsoft person but still).

        M This user is from outside of this forum
        M This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #7

        Because one of the features of Linux that Microsoft is most interested in is docker/oci containers, but that is a feature specific to the Linux kernel (and thus requires a virtual machine).

        undefined@lemmy.hogru.chU 1 Reply Last reply
        0
        • undefined@lemmy.hogru.chU [email protected]

          Why did they give up on the wine-like approach? That seems so much better than running an entire VM (not even a Microsoft person but still).

          A This user is from outside of this forum
          A This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #8

          even the old 'xp mode' for win7 was just a vm.

          undefined@lemmy.hogru.chU 1 Reply Last reply
          0
          • M [email protected]

            Because one of the features of Linux that Microsoft is most interested in is docker/oci containers, but that is a feature specific to the Linux kernel (and thus requires a virtual machine).

            undefined@lemmy.hogru.chU This user is from outside of this forum
            undefined@lemmy.hogru.chU This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #9

            I always wonder how Docker works on macOS with a more UNIX-style kernel than Linux when even FreeBSD gave up on the effort.

            I understand macOS is way closer to Linux than Windows (despite its differences) but is it really that hard to do Docker/OCI out of Linux?

            M 1 Reply Last reply
            0
            • A [email protected]

              even the old 'xp mode' for win7 was just a vm.

              undefined@lemmy.hogru.chU This user is from outside of this forum
              undefined@lemmy.hogru.chU This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #10

              That’s interesting. I haven’t really used Windows since the XP days so I didn’t realize there was already some VM stuff going on to begin with.

              1 Reply Last reply
              0
              • undefined@lemmy.hogru.chU [email protected]

                I always wonder how Docker works on macOS with a more UNIX-style kernel than Linux when even FreeBSD gave up on the effort.

                I understand macOS is way closer to Linux than Windows (despite its differences) but is it really that hard to do Docker/OCI out of Linux?

                M This user is from outside of this forum
                M This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #11

                I always wonder how Docker works on macOS with a more UNIX-style kernel than Linux

                It doesn't. Macos also uses a virtual machine for docker.

                but is it really that hard to do Docker/OCI out of Linux?

                Yes. The runtimes containers use are dependent on cgroups, seccomp, namespaces, and a few other linux kernel specific features.

                You could implement a wine like project to run the linux binaries that containers contain, and then run some sandboxing to make it be a proper container, but no virtual machines or virtual machine container runtimes* are easier.

                Linuxulator, a freebsd project does the above.

                https://people.freebsd.org/~dch/posts/2024-12-04-freebsd-containers/

                *these are much lighter than a normal vm, I'll need to check if this is what macos does. I know for a fact docker on windows uses a full Linux vm though.

                undefined@lemmy.hogru.chU 1 Reply Last reply
                0
                • M [email protected]

                  I always wonder how Docker works on macOS with a more UNIX-style kernel than Linux

                  It doesn't. Macos also uses a virtual machine for docker.

                  but is it really that hard to do Docker/OCI out of Linux?

                  Yes. The runtimes containers use are dependent on cgroups, seccomp, namespaces, and a few other linux kernel specific features.

                  You could implement a wine like project to run the linux binaries that containers contain, and then run some sandboxing to make it be a proper container, but no virtual machines or virtual machine container runtimes* are easier.

                  Linuxulator, a freebsd project does the above.

                  https://people.freebsd.org/~dch/posts/2024-12-04-freebsd-containers/

                  *these are much lighter than a normal vm, I'll need to check if this is what macos does. I know for a fact docker on windows uses a full Linux vm though.

                  undefined@lemmy.hogru.chU This user is from outside of this forum
                  undefined@lemmy.hogru.chU This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #12

                  Actually that’s a good point that I’ve completely forgotten. Docker uses the modern macOS APIs for virtualization these days, and uses Rosetta2 for amd64 containers.

                  L 1 Reply Last reply
                  0
                  • internetcitizen2@lemmy.worldI [email protected]

                    I know... I know.

                    But just out of curiosity about how it works. I remember back in some dark days of still dual booting getting curious about wsl1 and being fairly impressed. At the time I had a heavy gaming laptop and a Surface 3 I would take to class to keep my STEM student physic rather than going body builder moving an alienware around.

                    Having wsl was a neat tool to get started on some homework assignments before I got home to the real computer. Given that Windows ARM has been kind of a let down (or perhaps Apple just set too high a bar) I am curious about how this niche has turned out.

                    pseudospock@lemmy.dbzer0.comP This user is from outside of this forum
                    pseudospock@lemmy.dbzer0.comP This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #13

                    Don't waste time doing that, just run real Linux.

                    1 Reply Last reply
                    0
                    • undefined@lemmy.hogru.chU [email protected]

                      Actually that’s a good point that I’ve completely forgotten. Docker uses the modern macOS APIs for virtualization these days, and uses Rosetta2 for amd64 containers.

                      L This user is from outside of this forum
                      L This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #14

                      FreeBSD is supporting OCI containers natively. If the app in your container can run on Linuxulator, it will run on FreeBSD.

                      1 Reply Last reply
                      0
                      • internetcitizen2@lemmy.worldI [email protected]

                        I know... I know.

                        But just out of curiosity about how it works. I remember back in some dark days of still dual booting getting curious about wsl1 and being fairly impressed. At the time I had a heavy gaming laptop and a Surface 3 I would take to class to keep my STEM student physic rather than going body builder moving an alienware around.

                        Having wsl was a neat tool to get started on some homework assignments before I got home to the real computer. Given that Windows ARM has been kind of a let down (or perhaps Apple just set too high a bar) I am curious about how this niche has turned out.

                        R This user is from outside of this forum
                        R This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #15

                        Yes, I have a Surface Pro 11 for my travel laptop and it works well. No notable differences from my previous Dell XPS 13.

                        1 Reply Last reply
                        0
                        • System shared this topic on
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups