Microsoft and Qualcomm Collaborate to Bring Windows 10 & x86 Emulation to Snapdragon Processorsby Matt Humrick & Brett Howse on December 7, 2016 10:00 PM EST
- Posted in
- Windows 10
Today at Microsoft’s WinHEC event in Shenzhen, China, the company announced that it’s working with Qualcomm to bring the full Windows 10 experience to future devices powered by Snapdragon processors. Terry Myerson, executive vice president of the Windows and Devices Group at Microsoft, is “excited to bring Windows 10 to the ARM ecosystem” and looks forward to bringing “Windows 10 to life with a range of thin, light, power-efficient and always-connected devices,” which may include anything from smartphones to tablets to ultraportable laptops to servers. These new Snapdragon-powered devices should support all things Microsoft, including Microsoft Office, Windows Hello, Windows Pen, and the Edge browser, alongside third-party Universal Windows Platform (UWP) apps and, most interestingly, x86 (32-bit) Win32 apps. They should even be able to play Crysis 2.
This announcement fits nicely with Microsoft’s “Windows Everywhere” doctrine and should come as no surprise. It’s not even the first time we’ve seen Windows running on ARM processors. Microsoft’s failed Windows RT operating system was a modified version of Windows 8 that targeted the ARMv7-A 32-bit architecture. It grew from Microsoft’s MinWin effort to make Windows more modular by reorganizing the operating system and cleaning up API dependencies.
This work first surfaced in Windows Server 2008, which could be installed with a stripped-down, command-line only interface that did not include components such as Internet Explorer that were not necessary for specific server roles. Windows RT also leveraged the newer Windows Runtime (WinRT) API that offered several new features such as digitally signed app packages distributed through the centralized Windows Store and the ability to run apps within a sandbox. It also made it easier for software developers to target multiple CPU architectures. However, Microsoft’s rework of Windows was not yet complete, leaving Windows RT with a bunch of legacy Win32 code that went unused. It also could not run Win32 desktop apps, severely limiting the number of available apps to only those using WinRT and distributed through the Windows Store.
MinWin and its derivatives have continued to evolve over the past few years after getting a major boost in 2013 when Microsoft reorganized its disparate software platforms into the singular Operating Systems Engineering Group. The end result is Windows 10, a modular OS that can run on anything from low-powered IoT devices to high-performing workstations and servers. Its foundation is OneCore, MinWin’s direct descendant, that includes only the operating system kernel and components essential for any hardware platform. OneCore UAP (Universal App Platform) is another major module for Windows 10 whose groundwork was laid during the creation of Windows Phone and Windows RT. It provides support for Universal Windows Apps and Drivers, along with more advanced features such as the Edge browser and DirectX. On top of these modules, Microsoft can add modules that target specific device families (desktop, mobile, Xbox, HoloLens, etc.) that provide specialized features and shells.
Also included in OneCore UAP is Universal Windows Platform (UWP). An extension of the WinRT API used in Windows 8, it allows developers to create universal apps that are CPU architecture agnostic and can run on multiple devices, seamlessly adapting their user interface and input methods to the hardware they’re running on. With UWP, the architecutre independence is achieved by having pre-compiled versions for each platform available from the Store, which will then download and install the correct version for the individual device. The major change with today's announcement over Windows RT and UWP is that x86 apps will be able to run on Qualcomm's ARM-based SoCs, along with support for all of the peripherals that are already supported with Windows 10. This alone is a huge change from Windows RT, which would only work with a small subset of peripherals.
Microsoft is also focusing on having these devices always connected through cellular, which is something that is not available for many PCs at the moment. Support will be available for eSIM to avoid having to find room in a cramped design to accomodate a physical SIM, and Microsoft is going so far as to call these "cellular PCs" meaning they are expecting broad support for this class of computer, rather than the handful available now with cellular connectivity.
The ability to run x86 Win32 apps on ARM will come through emulation, and to demonstrate the performance Microsoft has released a video of an ARM PC running Photoshop.
This of course raises several questions, few-if-any of which Microsoft is willing to answer. Intel has long exerted strong control over the x86 ISA, limiting or outright preventing competitors like NVIDIA from implementing x86 support. So how Microsoft and Qualcomm are able to (for lack of a better way to put it) get away with this is a big question. Certainly there's no indication right now that this has Intel's formal blessing.
The key points here are that this is a form of software emulation - Microsoft even calls it as much - and that only 32-bit x86 support is being offered. On the former, this means that there's no hardware execution of x86 instructions taking place - though Microsoft and Qualcomm are certainly lining up instructions as best they can - which avoids many of the obvious patent pitfalls of doing x86 in hardware, and puts it in the same category as other x86 emulation mechanisms like DOSBox and QEMU. Meanwhile only supporting 32-bit x86 code further rolls back the clock, as the most important of those instructions are by now quite old, x86 having made the jump to 64-bit x86-64 back in 2003. So it may very well be that it's easier to avoid any potential legal issues by sticking with 32-bit code, though that's supposition on our part. In any case it will be interesting to see what instructions Microsoft's emulator supports, and whether newer instructions and instruction set extensions (e.g SSE2) are supported in some fashion.
Of course, the performance of this solution remains to be seen. x86 is not easy or cheap to emulate, and an "emulator" as opposed to a Denver-like instruction translation makes that all the harder. On the other hand, while maximizing x86 compatibility is great for Microsoft and Qualcomm, what they really need x86 for is legacy applications, which broadly speaking aren't performance-critical. So while x86 on a phone/tablet ARM SoC may not be fast, it need only be "good enough."
In any case, Windows 10’s ability to scale and adapt to essentially any hardware platform is a remarkable feat of engineering, and it’s what makes today’s joint announcement with Qualcomm possible. The first devices with Snapdragon SoCs running the full Windows 10 experience should be available in the second half of 2017.
It will be interesting to see what shape these devices take and which companies produce them. Some new lower-cost, full-featured Windows 10 tablets would be a welcome addition, and Qualcomm has its eyes on the low-powered server market too with its Centriq product family. A Windows 10 smartphone with a Snapdragon SoC is also likely, but with Windows Phone 8 holding less than 1% global market share, according to Gartner, Microsoft is essentially starting from scratch. Will the benefits of universal apps be enough to lure software developers and users of other Windows products away from Android and iOS? Can Windows 10 reestablish Microsoft as a major player in the smartphone market, or is the hole it has dug over the past decade too deep?
Post Your CommentPlease log in or sign up to comment.
View All Comments
arrakis_oasis - Thursday, December 8, 2016 - linkWhat API? Windows was rewritten almost from scratch when Win8 came out.
Meteor2 - Thursday, December 8, 2016 - linkIt's a very big deal.
micksh - Wednesday, December 7, 2016 - linkRe: "It (Windows RT) also could not run Win32 desktop apps"
I think it was an artificial limitation imposed by Microsoft. WinRT was ready to run Win32 apps recompiled for ARM, and people did that. Process looked like this:
All Microsoft had to do was to enable Win32 apps on WinRT officially. Many programs can be easily ported to different CPU architecture to avoid performance penalty for emulation. There will be x86-to-ARM emulation overhead.
BillyONeal - Thursday, December 8, 2016 - linkI'm assuming it's because
1. They wanted people to use the store.
2. They wanted to solve the malware problem once and for all.
(disclaimer: I work for MS but not in the Windows group -- no inside information on this for me :))
Krysto - Thursday, December 8, 2016 - link> 2. They wanted to solve the malware problem once and for all.
I wonder, if they are going to use Hyper-V for emulation, wouldn't they just create the same kind of secure virtualization they're now offering for Edge on Windows Enterprise?
TheinsanegamerN - Thursday, December 8, 2016 - linkSo, it could run win32 apps recompiled for ARM. This can run win32 apps not recompiled for ARM.
That is a huge difference. Many software devs will not update their code for ARM, especially in business. Everything moves at glacial speed. Windows 10 being able to run win32 without recompiling is awesome.
Vlad_Da_Great - Thursday, December 8, 2016 - linkOne whole day, and nobody cares. Only few amoebas showed up to comment. MSFT got but hurt by the concept of Android and iOS and now trying to move thru the ecosystem with the help of another 1 dimensional company called QCom. x86 can support Android and Intel is taking QCom lunch, scooping whats left in the Tablet business(besides iPad family), so they are putting now Server Chips, MSFT collaboration, Open Power consortium, all is dust. But no idiot is realizing that the SD830 is already choking on Nougat opening the contacts/phone caller app. I want to see how the arguments will start when MSFT will ask QCom to co-develop some drivers or invest in the upgrading the ecosystem as Intel did with Cortana to those idiots in the Win10. Windows is dead, buggy, old fashioned, never improved OS. NVDA said, hell no to Tegra and WinRT chocked up in those Surface 2 devices.
close - Thursday, December 8, 2016 - linkGoing past the fact that it's like you're struggling to make your message impossible to read, I stopped at this "Intel is taking QCom lunch". Is it the same Intel who's mobile division is on life support?
Geez, everybody's an expert just because they like something and hate something else...
doggface - Friday, December 9, 2016 - linkOh dear. It's the stream of thought that makes this absurd, but the content that makes it laughable.
JMC2000 - Friday, December 9, 2016 - linkI think a rambling, drunk, homeless war vet is far more coherent than that comment.