this post was submitted on 11 Oct 2023
169 points (97.7% liked)

Technology

59428 readers
2843 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Defaced@lemmy.world 47 points 1 year ago (7 children)

Whoever can make a compatibility layer that successfully translates x86/64 to arm and vice versa and make it widely available will be a major player in the market. Valve has already somewhat done something similar with proton and Apple with Rosetta 2.

[–] Spiderfarmer@lemmy.world 23 points 1 year ago (1 children)

Apple developed it as a stopgap. In the Windows world x86/64 will be around for a long long time. Not sure if anyone is willing to support something like that for the next 10 years.

[–] agressivelyPassive@feddit.de 12 points 1 year ago (1 children)

It's all a question of market share. If (big if) arm gets a foothold into the Windows market, software vendors will simply offer two binaries and/or Microsoft could offer tooling to offer easy porting.

Apple's real genius move though is not Rosetta, but including x86 compatibility features into the Mx chips. That way the emulation is much faster.

[–] ggppjj@lemmy.world 3 points 1 year ago

Windows does have a 32/64 bit x86 compatibility layer and most of what I've seen through limited bashing around in VS2022 leads me to believe that it has arm as a fairly targetable build target already.

[–] mr_tyler_durden@lemmy.world 11 points 1 year ago (1 children)

Proton and Rosetta 2 are two totally different beasts. One allows windows programs to run on non-windows hosts and one translates x86 to Arm.

I’m not aware of Proton doing anything like Rosetta 2 and if it did Steam would have probably used an Arm chip in their Steam Deck instead of an x86.

Maintaining 2-way compatibility doesn’t seem like an important goal. One way, x86->Arm, sure but not Arm->x86. Apple clearly sees x86 as a dead end for its own product lines and we will see if the rest of the industry follows suit over time. Of course there is a ton tied up in x86 but aside from legacy apps or games I don’t have much need of x86 in my life.

Even the servers I run are trending towards Arm due to the power savings. AWS graviton stuff is like ~25-30% cheaper than x86 last I looked

[–] Defaced@lemmy.world 3 points 1 year ago (1 children)

I understand proton isn't the same thing, it was just an example of a compatibility layer...and how would a bidirectional compatibility layer not be beneficial? X86 in servers may be going away and even that's debatable, but x86 isn't going anywhere in the consumer space. Graviton chips are great, but they're useless if there's no viable way to translate those x86 legacy applications over to ARM without breaking the bank until your business is ready to transition the workload to ARM.

Amazon was working on a compatibility layer specifically for this purpose, however I suspect they've given up because they've slowly added Intel and AMD chipsets back into their general purpose ec2 class for newer generations and there hasn't been a single word about compatibility with graviton other than just use arm based workloads.

You just can't move to ARM because it's cheaper, that's just not going to work. You need to make the effort to move away from x86 and adopt applications that are arm native before making that jump. With a compatibility layer it doesn't matter, that's where the money is, if I can build a compatibility layer that translates an x86 binary to an arm binary, then I can move those workloads to the cheaper and more efficient server class.

[–] Dark_Arc@social.packetloss.gg 1 points 1 year ago (1 children)

it was just an example of a compatibility layer

It's a different problem under the same name. You're comparing apples to oranges by comparing WINE and Rosetta.

WINE (as I understand it) explicitly does its best to maintain the instructions and basically just implements functions that are missing.

Rosetta actually changes out every instruction (and presumably has to do a WINE-like thing as well to handle dynamically linked code, though in theory this is more of a 1-to-1 mapping since you're not swapping OSes).

if there's no viable way to translate those x86 legacy applications over to ARM

For a properly written application that doesn't have a lot of third party binary dependents... This really shouldn't be that big of a job. You just recompile the code on ARM, test, and fix any bugs.

I'd speculate that most of the time this stuff comes up like: "this was written for Windows with some very specific Microsoft libraries/tech in mind and we want to run it on Linux and ARM as cost cutting measures."

Granted, it's not unusual for a large enough code base to contain some code that wasn't written in an architecture neutral way/does some shady stuff.

[–] Defaced@lemmy.world 1 points 1 year ago

I'm not comparing Rosetta and proton...I'm just using them as examples of compatibility layers that make their products viable. I frankly don't give a shit about the inner workings of Rosetta or proton, but thanks for clarifying I guess.

[–] simple@lemm.ee 9 points 1 year ago (1 children)

FEX-Emu is basically that. They're still in an early state but they showed Sonic Mania running perfectly a few days ago.

[–] PipedLinkBot@feddit.rocks 3 points 1 year ago

Here is an alternative Piped link(s):

Sonic Mania running perfectly

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] IchNichtenLichten@lemmy.world 6 points 1 year ago (1 children)

Windows on ARM is a thing, it will run x86 binaries.

[–] troyunrau@lemmy.ca 10 points 1 year ago (1 children)

Gord forbid those binaries want to do any actual work though...

[–] IchNichtenLichten@lemmy.world 5 points 1 year ago (1 children)
[–] troyunrau@lemmy.ca 8 points 1 year ago (1 children)

Windows on ARM will run x86 binaries. But if these binaries require any real processing power, they choke or run really really slowly.

[–] IchNichtenLichten@lemmy.world 1 points 1 year ago

I guess it depends on how you define “real processing power”. I run Windows on Arm on my Mac Studio through Parallels. I installed Steam and played Civ 4 and it’s great. Sure, it’s an old game but it runs smoothly.

[–] impiri@lemm.ee 4 points 1 year ago

It's gotta be Microsoft building it into Windows. The Apple Silicon transition wouldn't have been nearly as smooth if people had to pay for, say, CrossOver or something to use their Intel apps. And the tepid response to the ARM Surface models makes me think that it's a must, despite the UWP dream.

The good news is that Rosetta 2 shows it can be done extremely well!

[–] anon_8675309@lemmy.world 4 points 1 year ago

Someone should revive transmeta and gear it towards arm.

[–] possiblylinux127@lemmy.zip 2 points 1 year ago (1 children)
[–] merthyr1831@lemmy.world 1 points 1 year ago

I could be wrong but that might be Linux only. Windows and MacOS both have their own proprietary compatibility layers, but Windows had shit support for theirs for years which hurt their reputation badly.