Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Portables (Apple) Windows Desktops (Apple)

Developer Successfully Virtualizes Windows for Arm on M1 Mac (macrumors.com) 114

Developer Alexander Graf has successfully virtualized the Arm version of Windows on an M1 Mac, proving that the M1 chip is capable of running Microsoft's operating system. From a report: Currently, Macs with the M1 chip do not support Windows and there is no Boot Camp feature as there is on Intel Macs, but support for Windows is a feature that many users would like to see. Using the open-source QEMU virtualizer, Graf was able to virtualize the Arm version of Windows on Apple's M1 chip, with no emulation. Since the M1 chip is a custom Arm SoC, it is no longer possible to install the x86 version of Windows or x86 Windows apps using Boot Camp, as was the case with previous Intel-based Macs. However, he said in a Tweet that when virtualized on an M1 Mac, "Windows ARM64 can run x86 applications really well. It's not as fast as Rosetta 2, but close."
This discussion has been archived. No new comments can be posted.

Developer Successfully Virtualizes Windows for Arm on M1 Mac

Comments Filter:
  • support for Windows is a feature that many users would like to see

    If you need support for WIndows, why do you buy a Mac?

    Genuine question: I grok that people prefer MacOS over Windows (hell, I'd prefer a dead badger over Windows). But if the Mac's choice of available applications is lackluster enough to be a problem for you, maybe you'd be better off with a cheap generic Intel Windows box. You know, just from a practicality standpoint.

    • I think the most common use-cases are:
      1. A single app that is Windows-only
      2. Windows browser/client testing

      I don’t think many people are using Parallels/VMware to run games or looking for more software, usually it’s because they are forced.
      • Yeah but probably none of that runs on Windows ARM.
        • Windows on ARM has something similar to Rosetta.  Not as fast, but it works.
          • Yes, you can emulate x86 on Windows Arm that you're running virtualized in MacOS... Or just get Windows machine for the same or less and not do all that.
            • by tepples ( 727027 )

              How practical is it to carry two laptops, one for the few Windows-exclusive applications you use, the other for the few macOS-exclusive applications you use (such as Xcode and the iPhone simulator)?

              • Seriously. Good grief - even if their job requires it, most people aren't even willing to carry two separate cellphones with them.

            • In the article Windows is running in a hypervisor which generally is stupid fast(e.g. a lot of servers only run software in hypervisors). We know Microsoft’s existing 32bit x86 emulation is passable for most business software. If a commercial version of this hack that is only slightly faster than running software on Microsoft’s Surface-Pro-X then it would be very useful.
            • Totally missing the point, aren't you.  OP said none of the x86 apps are available for Windows ARM.  I pointed out it is possible to run x86 binaries on Windows ARM.

              *YOUR* response is way out of left field.  Who doesn't know you can get an Intel box to run Windows?
    • Because Mac hardware is nice and it would be great to have other choices of operating system to run on them
      • Not all Mac hardware is nice... I have a Mac Mini that I need to use in order to debug Web apps on iPhone, and it's a pig of a computer, as is Safari for web development.
        At least Microsoft produce their Web browser for Linux now, so I'm not forced to use a totally crappy computer and OS in order to do the simplest of debugging.

        • At least Microsoft produce their Web browser for Linux now, so I'm not forced to use a totally crappy computer and OS in order to do the simplest of debugging.

          That’s kinda bizarre; what are you testing in Chromium-flavored-Edge on Linux that couldn’t be tested on any other Chromium-based browser?

        • by edis ( 266347 )

          Not all Mac hardware is nice... I have a Mac Mini that I need to use in order to debug Web apps on iPhone, and it's a pig of a computer.

          Mac mini is very similar to the other Mac, in fact might be even more likely to have upgradable RAM, swappable HDD/SSD. It is mostly specific by being designed without its own screen, otherwise - as decent, as other Mac flavors, and not "pig of computer" because of the form factor at all. Very nice and compact machine to start with, if one prefers to not shell out couple hundreds more on a built-in display and portability.

    • If you need support for WIndows, why do you buy a Mac?

      For software developers it is very useful to have a mac that also runs windows. You can test your software for both operating systems using one machine.

      • by quenda ( 644621 )

        For software developers it is very useful to have a mac that also runs windows. You can test your software for both operating systems using one machine.

        Even if that is true, you should stick to an Intel Mac.

        • A weirdly larger percentage of developers use Macs than probably should. It will be interesting if this starts a trend where Intel Windows starts getting buggier versions of websites/software than the Arm version.

          Intel laptops are getting very long in the tooth. Arm is killing it the low-power/small laptop market and AMD is dominating the high-power/power-user laptop market. I wouldn’t want to buy an Intel laptop today unless I was getting a nice discount.
          • Given the lockdown has enabled efficient home working and reduced the cost-of-living for those doing development work, I'm more curious to see if we will see a return to desktop computing.

            Laptops, tablets and mobile phones have kinda lost their value to me overnight
          • Re:Why? (Score:5, Insightful)

            by Immerman ( 2627577 ) on Saturday November 28, 2020 @09:33AM (#60772796)

            >A weirdly larger percentage of developers use Macs than probably should.

            I don't think it's so weird. Las I heard it was pretty universally accepted that 'nix is the best development platform, and MacOS delivers 'nix with a highly polished desktop interface.

            Not to mention the same hardware (pre-ARM) would also run native Windows and Linux, which is convenient for cross-platform testing among the three most popular OSes. Good luck getting a non-bodged version of MacOS running on any other platform. Not to mention MacOS is pretty much *the* development platform for iOS apps - which are far and away the most profitable app platform.

            Plus, Macs just have really nice hardware (usually). Maybe it's nothing special under the hood - but the fit and finish outclasses pretty much anything available on the Windows side. The display especially is incredibly important to developers, and Mac laptops have historically severely outclassed the Windows options in the same price range. Both in resolution, and image quality. High resolution means smoother and/or smaller fonts, which makes a developer's life more pleasant. There's also font rendering - MacOS is second to none in their font rendering quality. While Linux.... less said the better.

            • For reference, Linux virtualisation support shipped in macOS with ARM macs, so with windows, your trifecta there is once again supported.

              • Linux virtualization support has very little to do with Linux support.

                And as I've mentioned elsewhere, Arm Windows support is basically pointless. If your required program doesn't have a Mac version, it almost certainly doesn't have an Arm Windows version.

                • Windows 10 Arm runs 32bit x86 apps fairly well right now and Microsoft is supposed to ship 64bit x86 support in Arm-Windows soon. https://www.extremetech.com/co... [extremetech.com]
                  • That's right... I had forgotten about that. They did finally make it less worthless.

                    Here's hoping for decent 64-bit support soon, it's getting to be challenging to find 32-bit Windows programs anymore - though I'll admit I have many old ones that you'll have to pry from my cold dead fingers.

                • ARM windows, just like macOS on Apple ARM, can emulate x86 windows Programs.
                  And actually I had assumed that most modern Windows program are fat binaries for ARM and Intel, are they not?

                  • Well, I don't do so much Windows programming anymore, so I might have missed something important, but this is the first I've heard of such fat binaries even being possible.

                  • by Malc ( 1751 )

                    Do they have fat (multi-arch) binaries on Windows? Iâ(TM)ve never see an option to build such things, although itâ(TM)s been 10 years since I was exclusively developing on Windows.

                    To date, Windows ARM could only run 32-bit Intel binaries. This is changing (or might already have happened.) macOS only runs 64-bit binaries these days, whether ARM or Intel. Our optimised Intel code runs almost as fast via Rosetta 2 on Apple Silicon as our unoptimised plain C code compiled for armv8-a, so it's usabl

            • ... if you want to do anything in the way of unix C/C++ development thats not standard Posix then (apart from some low level system stuff) you're going to have to learn Objective-C because all the GUI, video and audio APIs are written in that dog of a language.

              • going to have to learn Objective-C because all the GUI, video and audio APIs are^H^H^H were written in that dog of a language.
                Fixed that for you.
                However you learn Objective-C in a day, if you know either C or C++, and probably in a week if you know Java or C#.
                That is most likely not a waste of time anyway.

            • Plus, Macs just have really nice hardware (usually). Maybe it's nothing special under the hood - but the fit and finish outclasses pretty much anything available on the Windows side.

              Basically can't find a good laptop case anywhere else.

          • by caseih ( 160668 )

            Until this last year there were hardly any high-end, battery-efficient AMD Ryzen laptops available at all. System76 is still working on their Ryzen laptop. Dell has only a few models available. The high-end Dell business laptops with all the bells and whistles (and thin!) are still Intel. So no, AMD is not dominating the high-power/power-user laptop market. Far from it. They are doing well, but not dominating.

            I'm not sure what this "low-power/small laptop" market is that you speak of. Chromebooks? Tho

            • Choosing MacOS/Windows/ChromeOS or a specific brand(Dell/HP/Apple/Surface) is mostly a matter of personal preference.
            • macOS and Apple hardware is slowly losing its luster for unix developers.
              Perhaps you should once go to a developer conference.
              Sit in the front row, and when the talk gets boring, turn around and look what laptops people have in front of them.
              More than 50% will be Macs. There is no premature death of Apple laptops in sight soon.

          • A weirdly larger percentage of developers use Macs than probably should.

            When Apple switched to x86 processors you could get one machine that ran all 3 major operating systems, doesn't seem weird to me.

            • by rmav ( 1149097 )

              A weirdly larger percentage of developers use Macs than probably should.

              When Apple switched to x86 processors you could get one machine that ran all 3 major operating systems, doesn't seem weird to me.

              And with the new machines you can get one machine that can run all 3 major operating systems, on "both" architectures!

        • by dfghjk ( 711126 )

          But SuperKendall told us that the M1 Mac would be superior in every way to an Intel Mac for software development, and he's a professional IOS developer so he knows.

          • But SuperKendall told us that the M1 Mac would be superior in every way to an Intel Mac for software development, and he's a professional IOS developer so he knows.

            At least he knows the difference between an emulator and a translator.

        • For software developers it is very useful to have a mac that also runs windows. You can test your software for both operating systems using one machine.

          Even if that is true, you should stick to an Intel Mac.

          Not necessarily. If the same toolchain can produce x86 and ARM binaries (Xcode or Visual Studio) then for development purposes either Intel or M1 would likely be fine. One machine that produce Intel and ARM binaries for macOS and Intel and ARM binaries for Windows. One dev and one machine can still produce all the necessary binaries from either Intel or M1. Assuming of course an ARM version of Windows running on the M1.

          • We create our Windows ARM binaries on Linux using clang-cl. Therefore no impediment to doing the same on macOS. Clang-cl even generates faster code for ARM than Visual Studio does. The only piece missing from the puzzle for me is an ARM build of Windows on MSDN.

    • Re:Why? (Score:5, Insightful)

      by quenda ( 644621 ) on Saturday November 28, 2020 @04:59AM (#60772394)

      If you need support for WIndows, why do you buy a Mac?

      People want particular Windows apps, not Windows. And if so, yes, an M1 Mac would be a bad choice. They could an Intel Mac, or Intel Linux laptop with QEMU instead.
      But look buddy, you have it wrong. This article is not intended as purchasing advice - it is just a cool hack. Maybe you have come to Slashdot by mistake?

    • There are plenty of Applications that only run on windows.
      If you need one of them, you either have to have two computers and remote desktop into the windows box, or have a VM with windows. And a VM with windows was pretty difficult on ARM based Macs. Hence this nice article.

      You know, just from a practicality standpoint. It is absolutely not practical to have your emails and chat on one computer and your daily work on another one, well as said above it can be mitigated a bit with remote desktops.

    • by Malc ( 1751 )

      We develop cross platform SDKs, including macOS, Windows, Linux, mobile devices, etc. Macs have been a great platform for this, besides Mac being the only official hardware you can use to develop for macOS and iOS. If Microsoft would just put an ARM build of Windows on MSDN, this could continue.

    • If you need support for WIndows, why do you buy a Mac?

      You wouldn't, but Microsoft makes ARM devices and the M1 chip could be interesting for that line of business.

      I'm betting Apple won't sell it to them though.

    • Re:Why? (Score:4, Interesting)

      by Immerman ( 2627577 ) on Saturday November 28, 2020 @09:19AM (#60772776)

      >If you need support for WIndows, why do you buy a Mac?

      Same reason my Linux computers generally either dual-boot Windows, or run it in a virtual machine - there's a few programs I occasionally need to use that only run on Windows (Most also run on Wine, but not all. I'm looking at you Fusion360). I don't need them all the time, but when I do... I do. Doesn't mean I want to run Windows all the time, any more than I'd want to drive a beater pickup all the time.

      That said - I fail to see the benefit here. People run Windows as a secondary OS almost exclusively for software compatibility - and last I heard Windows for Arm isn't compatible with x86 Windows programs. So what's the point?

      I mean, awesome that they got Qemu running properly on Arm MacOS, I'm sure that'll be useful for many things...just not really for this.

      • by Misagon ( 1135 )

        Windows 10 for 64-bit ARM can run 32-bit x86 apps in emulation. Emulation of 64-bit apps is not yet ready. It should have become available for beta-testers in the Windows Insider Program, but that has been pushed back for all I've heard.

        The old Windows RT on 32-bit ARM is a dead horse though. I feel so sorry for consumers that had been lured into buying that.

      • and last I heard Windows for Arm isn't compatible with x86 Windows programs.
        It is, it uses similar approaches to emulate x86 as Apple does (since ever actually).

    • Because the CPU in this thing is crazy good, so itâ(TM)s faster than a laptop i9, and cool enough to run fabless.

    • If you need support for WIndows, why do you buy a M1 Mac?

      Windows on ARM is needed as much as Linux on a toaster.

    • by dfghjk ( 711126 )

      Because they are Mac users that need to run some Windows applications? Do you really fail to understand this?

      Back before it was known that the M1 wouldn't run Windows, the fanboys not only insisted that it would but that running Windows apps is what made the Mac the ultimate development machine. Then Apple had their pep rally and the fanboys suddenly changed their tune. Now it's "why would anyone want to do that?"

      Meanwhile, it is possible to prefer OS X while simultaneously requiring applications that on

    • This is actually a good thing. It means that people that buy these new macs will have access to some productivity software. Even if they have to emulate Windows on Mac to do that. I don't really see this being a problem thought. Every Mac owner that I know that buys a mac likes to show it off in Mac mode. But to do real work they boot it in to a Windows mode or a VM.

  • Microsoft licensing (Score:4, Informative)

    by gabebear ( 251933 ) on Saturday November 28, 2020 @04:16AM (#60772360) Homepage Journal
    Microsoft only licenses windows to run on approved devices. People have wanted licenses for rPi fora long while now. https://answers.microsoft.com/... [microsoft.com]
  • Great effort... (Score:5, Insightful)

    by bmimatt ( 1021295 ) on Saturday November 28, 2020 @04:27AM (#60772372)
    ... and nothing of value was gained.
  • You've raised uselessness to a new epic level.

  • I've said it before and I'll say it again.

    Unlike for iX-86/AMD-64 Windows, Microsoft DOES NOT SELL ARM-V8 Windows to end users, only to system integrators.

    Therefore, if apple would pour engineering resources to run an OS people can not legally run, tey could be acused of willfull accesory to piracy.

    The limitation to have Windows for ARM running on M1 silicion, either via Bootcamp or via Virtualization has never been a tecnical one. Is a legal one.

    • They don't even offer it on MSDN.
    • I doubt it's a legal one either, given the disregard bordering on animosity Apple has always shown Linux - and Linux just wants system documentation so they can do the work themselves.

      As far as Apple is concerned, the world begins and ends with Apple. Windows is maybe out there as a distant shore that sometimes calls for some slight concessions for compatability, but that's it. And Windows Arm is worthless for that - if your Windows program doesn't have a Mac version, it almost certainly doesn't have a Wi

    • That's a really dumb excuse for preventing alternative OSes to boot. You actually have to go out of your way to make that happen.
      • Windows on ARM is mainly a Qualcomm thing, from the Lumia era - maturity of Snapdragon's UEFI support and Windows drivers for Adreno. Legwork from Apple and Microsoft required to bring that to M1.

    • Microsoft DOES NOT SELL ARM-V8 Windows to end users, only to system integrators.

      What is the minimum volume that Microsoft requires of such a system integrator? I ask in order to assess whether it would be practical for each local Apple Authorized Reseller to apply to become a system integrator.

  • Comment removed based on user account deletion
    • Yeah, seems more like a good stress-test for a Qemu port than something actually useful in its own right. In which case they kinda buried the lead.

  • by couchslug ( 175151 ) on Saturday November 28, 2020 @10:31AM (#60772860)

    So this is good news for nerds.
    Those who buy Apple as Facebook machines are not the target audience. (At one time they were not the target Slashdot audience.)

    The more OS any machine can run acceptably the better for those who can put it to use.

  • Wow, bringing coals to newcastle, or sand the Middle East. Impressive in one sense, but an oxymoron in another. I just ponder running Windows and running it on a Mac hardware...putting a Yugo engine into a Ferrari. And get needed patches, update, security holes by running Windows.

  • I’d love to see the Geekbench for both native Windows-Arm and Windows-x86-32bit... it is worthless, but would still be fun.
  • a Beowulf cluster. yawn.

    LoB

The unfacts, did we have them, are too imprecisely few to warrant our certitude.

Working...