this post was submitted on 25 Dec 2023
15 points (75.9% liked)

Hacker News

4123 readers
1 users here now

This community serves to share top posts on Hacker News with the wider fediverse.

Rules0. Keep it legal

  1. Keep it civil and SFW
  2. Keep it safe for members of marginalised groups

founded 1 year ago
MODERATORS
 

There is a discussion on Hacker News, but feel free to comment here as well.

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 10 months ago

This doesn't work out for ARM or Windows.

As soon as virtualization is on the table... it's gonna be a free-for-all. Android could've been there if they didn't half-ass it with an ARM monoculture. Apple could've been there if they didn't quarter-ass it with "universal" binaries for a universe of two platforms. Windows RT... no.

Linux can already aaalmost force Windows programs to run on anything, thanks to "user-mode emulators" like FEX-emu / box86 / qemu-user. And Wine, obviously. Wine splits the program into system code and machine code. FEX-emu intercepts the latter. So if the stars align, you can run Crysis.exe on a $50 tablet.

Microsoft embracing that approach, differing only in using Windows instead of Wine, means a lot more eyes on the problem, and much wider recognition that this is even possible, and shortly very little reason to use Windows instead of Wine. Because they're not gonna nail it on the first go. Microsoft's obsession with compatibility is admirable and commendable, but they will sell buggy Windows gizmos that sorta-kinda run your Steam library, and those will cost more than buggy Linux gizmos that sorta-kinda run your Steam library.

And of course nobody's going to have any damn reason to run x86 anymore. Intel's gonna have the most power money can buy, for a good while longer. (Apple does not count because Apple does not sell chips.) AMD's gonna keep metastasizing cores for server applications, and presumably remain competitive on price-per-oomph. Both will survive if they transition toward massively parallel GPGPU designs. But that IP duopoly is screwed.

The real surprise for all involved is that ARM won't matter nearly as much. Android and iOS will keep it going... all the way to a sudden dropoff, because old software on those platforms gets sucked down the memory hole. Apple will presumably stick with it for the coming decade because they have a perpetual license. But RISC-V has no licensing terms. It's already in some good-luck-have-fun experimental laptops. It's the microcontroller for some FPGA products. It's gonna wind up in every disk drive, industrial controller, and SOC that's either pushing the limits of 16-bit relics or scraping razor-thin margins versus ARM fees. And the same way ARM went from the battery-powered low-end wonder in the Game Boy Advance to ostensibly the best CPU in the world (for an OS nobody runs), a metric shitload of money will pour into making RISC-V better, with game theory pushing for cooperation among assorted greedy bastards.

Really, Apple deserves a lot of credit for this, despite not wanting it and being basically screwed. LLVM as an intermediate layer seems more likely than .NET / Mono. Whichever user-mode solution takes off is likely to dissolve x86 into an intermediate representation and then let some hardware-specific back-end consume it. It's gonna be great for Apple users, but only insofar as Mac OS will run Windows programs in spite of whatever Apple Inc. wants. Nobody gives a shit about running Mac OS programs elsewhere. Darling, the Wine equivalent that obviously should've been Dine, is just barely a thing as of this year. I'd feel down about their prospects if not for iOS's petit monopoly being the worst fucking thing ever to happen to computing.

[–] [email protected] 3 points 10 months ago

I'm interested in what this will do for Linux, since it's always done architecture changes more gracefully. Especially when it comes to running amd64 native game binaries. Could end up being not a little bit faster.

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago) (4 children)

What's so good about arm?

I didn't think it had legs! 😆🤣 /S

But seriously what's good with arm?

[–] [email protected] 5 points 10 months ago
[–] [email protected] 4 points 10 months ago (1 children)

The recent uptick is probably the usual chasing of Apple's recent products forming a current trend.

The M1 processors really showed how desktop ARM is completely viable. Even more than viable, it's crazy power efficient and still performs actually pretty great.

Unfortunately, I think as usual few companies will really attain as much success as Apple did, but Apple also had been developing ARM chips in house for years for their mobile products.

[–] [email protected] 2 points 10 months ago

I should mention that ARM for desktop has been slowly progressing for some time now prior to Apple, what I'm pointing at is renewed interest.

There's probably a non-zero amount of interest as well from countries noticing that having America have essentially full control of the global processor supply might be bad for them, and companies like Microsoft responding with support that goes beyond only really supporting x86.

[–] [email protected] 1 points 10 months ago

It's a lot better at doing nothing, which is a huge deal on battery power.

[–] [email protected] 1 points 10 months ago

ARM offers, in the best case and ideal situation, a vastly more power efficient package that offers pretty good and modern performance. Peak performance with x86 is much higher, but at a very disproportionate cost in power. Something like 2x performance for 20x the power. (Measurements are not exact, direct comparison is impossible and there are many chips of each architecture)

So for any device with a battery, ARM is generally superior. That's why basically all mobile phones are ARM and have been for 10+ years.

The move for windows for arm is largely about the future of laptops and not so much desktop, however, as performance increases for ARM chips and complexity In design improves, there is a good argument for ARM becoming a rough standard even for desktop, over the next 10 years.

There are similar architectures to ARM that are even more efficient, and open source (cheaper for manufacturers) such as RISC-V, that offer even more promise in the very long term, but they are much much much earlier in development. The first RISC-V chips that are actually for users are just now hitting the market.