News for hackers. Stuff that matters.
Re:A preview of x64 emulation on Windows for ARM by helsinkiandrew on Friday December 11, 2020 @04:49AM (#25383986)
Microsoft are between a rock and a hard place. They've done a very good job maintaining compatibility with windows/DOS x86 programs as hardware and the OS grows, but eventually for windows to survive and be competitive they need to ditch it and do a successful port to the next generation (presumably ARM).

This will be challenging and painful for many of their existing users.

Re:A preview of x64 emulation on Windows for ARM by vaylian on Friday December 11, 2020 @05:10AM (#25384127)
I think that's one of the reasons why they created the .NET framework: To be able to create a new "virtual" plattform that can be ported to other environments. There is a lot of C# software out there that should run on ARM without any issues with a .NET runtime.
Re:A preview of x64 emulation on Windows for ARM by MayeulC on Friday December 11, 2020 @05:33AM (#25384255)
That was also the raison d'être of the Unified Windows Platform apps: to stop depending on Win32 APIs, which are tied to the system architecture. Not a bad goal IMO.

I wish we'd see more architecture-neutral binaries, based on LLVM or webassembly.

Of course, Plan 9/Inferno had it before others: https://en.wikipedia.org/wiki/Limbo_(programming_language)#V...

(By virtue of being designed as a distributed OS, targeting machines with various architectures).

Re:A preview of x64 emulation on Windows for ARM by pjmlp on Friday December 11, 2020 @05:57AM (#25384367)
Mainframes, Xerox Parc, ETHZ workstations and UCSD Pascal had it before others.
Re:A preview of x64 emulation on Windows for ARM by opsunit on Friday December 11, 2020 @06:14AM (#25384462)
I've worked on zSeries machines running S/360 binaries from the early 70s. It is one of the primary reasons banking and related sectors that are heavily regulated stick with such platforms for core accounting.

The single whole-bank migration I was involved with was zSeries to zSeries.

This is where the challenger banks really have an advantage. They're not saddled with the baggage of an overnight batch run of JCL decks and Data Sets to arrive at what their regulators consider the reconciled position of the bank.

Re:A preview of x64 emulation on Windows for ARM by opsunit on Friday December 11, 2020 @06:16AM (#25384479)
Mobile game development is heavily biased around Mono across Android. It is perhaps the biggest existing proving ground of the architecture independence of C#.
Re:A preview of x64 emulation on Windows for ARM by est31 on Friday December 11, 2020 @04:55AM (#25384029)
The ARM platform is currently massively held back IMO by its lack for standardization. I think there is tremendous value hidden behind a company that achieves a push for consistency. Microsoft has invested tens if not hundreds of thousands of man years in this, so who would be better qualified for this than them.

RISC-V is kinda in a similar situation as ARM. If I were Microsoft, I'd be investing hard into the RISC-V platform as it still has tremendous growth left.

Re:A preview of x64 emulation on Windows for ARM by swiley on Friday December 11, 2020 @07:14AM (#25384903)
What do you mean by "standardization?"

Do you mean device probing? There's a standard API implemented by Linux for the firmware to communicate this to the kernel, also PCI works on ARM just like x86. No one bothers with this because all of the popular ARM SoCs tend to come from organizations that are extremely hostile to their users though.

Do you mean user space ABI? GlibC on arm7 and aarch64 has had a pretty stable ABI for a while now, I can personally share binaries between all my arm machines that share an architecture (not that flinging binaries around is a good thing.)

Re:A preview of x64 emulation on Windows for ARM by est31 on Friday December 11, 2020 @11:00AM (#25387181)
> There's a standard API implemented by Linux for the firmware to communicate this to the kernel, also PCI works on ARM just like x86. No one bothers with this because all of the popular ARM SoCs tend to come from organizations that are extremely hostile to their users though.

That's the problem. Most SoC vendors just don't care and implement drivers in or around forks of the kernel, and also specify the hardware via device trees. IIRC having the firmware give the device tree to the kernel instead of it being baked into the kernel is a new development.

If MS came and said: we want stable interfaces, the vendors would buckle and MS would be able to ship one OS image to all devices, instead of having hw custom images.

Re:A preview of x64 emulation on Windows for ARM by gsnedders on Friday December 11, 2020 @05:06AM (#25384099)
> The ARM platform is currently massively held back IMO by its lack for standardization.

Note there is progress there with things like ARM's ServerReady which standardises a lot. The Windows-on-ARM requirements also push a lot to be far more standardised (it effectively requires a subset of the ServerReady requirements AIUI).

Re:A preview of x64 emulation on Windows for ARM by adrian_b on Friday December 11, 2020 @06:33AM (#25384587)
It would be very nice if an open CPU ISA, which can be implemented by everyone, like RISC-V, would be more widespread.

Sadly, RISC-V is not a good candidate for that. It is an excellent ISA for student implementation projects, but not for real work.

RISC-V is praised only by people who have very little or no experience with different CPU ISAs and with the history of their evolution.

RISC-V sucks more than even the ugliest ISA, x86. At least from the huge x86 ISA it is possible to extract a subset composed mostly of more recently introduced instructions, which can be considered as a decent ISA, except for the weird encoding, with many prefix bytes, which is needed for backward compatibility.

The 64-bit ARMv8 ISA is an example of a good ISA, but its future is clouded by the NVIDIA acquisition.

Re:A preview of x64 emulation on Windows for ARM by yjftsjthsd-h on Friday December 11, 2020 @09:20AM (#25386046)
> RISC-V is praised only by people who have very little or no experience with different CPU ISAs and with the history of their evolution.

I'm having trouble actually digging up the reference right now, but I've been told that it was specifically built out of decades of industry experience in what works in building processors/ISAs.

> RISC-V sucks more than even the ugliest ISA, x86.

How so?

> At least from the huge x86 ISA it is possible to extract a subset composed mostly of more recently introduced instructions, which can be considered as a decent ISA, except for the weird encoding, with many prefix bytes, which is needed for backward compatibility.

So, exactly like RISC-V base + extensions?

Re:A preview of x64 emulation on Windows for ARM by kzrdude on Friday December 11, 2020 @05:10AM (#25384126)
Isn't there more standardization in ARMv8?
Re:A preview of x64 emulation on Windows for ARM by bserge on Friday December 11, 2020 @07:28AM (#25384994)
Hopefully they drop support for important CAD and media editing software, so those companies have no choice but to turn to Linux.

I really hope Windows on the desktop goes the way of Windows Mobile and Windows Phone.