• woelkchen@lemmy.world
    link
    fedilink
    English
    arrow-up
    152
    arrow-down
    3
    ·
    6 months ago

    What Apple did for Macs when switching architectures, though, was to port their own software to the new architecture. Microsoft doesn’t even port fucking Minesweeper to ARM.

    • BorgDrone@lemmy.one
      link
      fedilink
      English
      arrow-up
      22
      ·
      6 months ago

      Another thing they did is add hardware support for the x86 strong memory model to their ARM chips, allowing for efficient emulation. Without this, translated code takes a big performance hit.

      Did Qualcomm add something similar to their ARM CPUs ?

    • Blackmist@feddit.uk
      link
      fedilink
      English
      arrow-up
      8
      ·
      6 months ago

      They’ve still got things that haven’t changed since about Windows 3.1, like that ODBC dialog window.

    • JohnnyCanuck@lemmy.ca
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      20
      ·
      6 months ago

      Isn’t that the point? This new layer is supposed to make it easier to port everything, and they’re saying that’s what Rosetta did for Apple/Mac.

          • woelkchen@lemmy.world
            link
            fedilink
            English
            arrow-up
            41
            arrow-down
            2
            ·
            6 months ago

            to the end user it doesn’t matter if it works.

            Emulation is always slower and eats more battery. Microsoft’s laziness is proof they don’t care about that hardware, so may just as well buy an iPad Pro instead.

            • saiarcot895
              link
              fedilink
              English
              arrow-up
              7
              arrow-down
              1
              ·
              edit-2
              6 months ago

              To add to what the other person said, there are some Windows-only games even today that run better on Linux than on Windows (I don’t have examples off the top of my head.)

              • QuaternionsRock@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                6 months ago

                Yuzu can exhibit superior performance because the Switch is rocking the Tegra X1 from 2015. Yuzu absolutely cannot beat the Switch with contemporary hardware and/or comparable power consumption.

                • notthebees@reddthat.com
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  6 months ago

                  But yuzu was running on the switch in that example. So it was beating the switch on contemporary hardware.

                  • QuaternionsRock@lemmy.world
                    link
                    fedilink
                    English
                    arrow-up
                    3
                    ·
                    edit-2
                    6 months ago

                    Oh yeah, clearly I did not read the article well. Still, it doesn’t mean what you think it does.

                    First, Yuzu is more of an alternative API implementation than an emulator in this setup. The stock Switch OS and API implementation have been entirely replaced with Linux and the Yuzu implementation of the API. Given recent performance uplifts in the Linux kernel, I’m not surprised that Linux+Yuzu beats the first-party implementation.

                    Second, the use of the word “emulation” in the above thread is really a misnomer: Rosetta 2, Prism and the like all perform what is called dynamic ISA translation. Yuzu need not perform ISA translation when running on ARM hardware.

            • Wooki@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              6 months ago

              Its not laziness, they have lost developers support over time and lets be honest here, Windows 8 arm was roundly laughed out the door. Expectations are now marketing hallucinated by copilot.

              This is typical Microsoft “agile”: minimum effort and delivery.

            • n2burns@lemmy.ca
              link
              fedilink
              English
              arrow-up
              8
              arrow-down
              8
              ·
              6 months ago

              Emulation is almost always slower and eats more battery.

              FTFY. There have been some cases where emulation actually outperforms native execution, though these might be, “the exceptions that prove the rule.” For example, in the early days of World of Warcraft, it actually ran better on WINE on Linux than natively on Windows.

              • woelkchen@lemmy.world
                link
                fedilink
                English
                arrow-up
                22
                arrow-down
                2
                ·
                6 months ago

                For example, in the early days of World of Warcraft, it actually ran better on WINE on Linux than natively on Windows.

                WINE literally stands for “WINE Is Not an Emulator”.

                  • woelkchen@lemmy.world
                    link
                    fedilink
                    English
                    arrow-up
                    8
                    arrow-down
                    3
                    ·
                    6 months ago

                    To be fair this is also a translation layer and not an emulator.

                    Prism is an x86 emulator for ARM. If you think that Prism is “a translation layer and not an emulator”, I refer you to the very first word of the second to last paragraph of the submitted article.

        • vanderbilt@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          1
          ·
          6 months ago

          I firmly maintain that if Microsoft gave a shit about ARM, they would be defaulting every one of their compilers to produce fat x86/aarch64 binaries. The reality is, however, that they don’t care about the hardware so long as it is good enough.

          • woelkchen@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            6 months ago

            if Microsoft gave a shit about ARM, they would be defaulting every one of their compilers to produce fat x86/aarch64 binaries

            Wasn’t the point of .NET once that native binary code isn’t needed? I’d say if Microsoft gave a shit about ARM, everything would have been ported to .NET.

        • fuckwit_mcbumcrumble@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          4
          ·
          6 months ago

          The 68k to PPC transition was rough though. It wasn’t until system 8 that Mac OS on a PPC mac was fully PPC code. But that was also a much different Apple that’s nothing like the Apple of today.

    • SkaveRat@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      32
      ·
      edit-2
      6 months ago

      this is for the transition. no point in porting your software if nobody has the hardware. This will get people to get the hardware, as they can just keep using the existing software, and wait until it’s properly ported

      Edit: you people really think windows is the only software that needs a translation? Do you only ever use your OS on your computer, and not a single software more?

      • vanderbilt@lemmy.world
        link
        fedilink
        English
        arrow-up
        44
        ·
        edit-2
        6 months ago

        Nobody will buy the hardware if they can’t commit to supporting the software. In a previous role, I was responsible for advising purchasing decisions for my company’s laptop fleet. The Surface X (Arm edition) looked cool, but we weren’t willing to take the risk, because at the time Microsoft had far worse transitional support than they do now. It’s gotten better, but no one in their right mind is going to make the kind of volume purchases that actually drive adoption until they demonstrate they are in it for the long haul. It’s a chicken and egg problem, and Microsoft doesn’t care what hardware you are using, so long as it is running Windows or using (expensive) Windows services.

      • ch00f@lemmy.world
        link
        fedilink
        English
        arrow-up
        19
        ·
        6 months ago

        Apple released a native x86 version of Tiger with their first Intel Macs.

        • abhibeckert@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          6 months ago

          Sure, but the vast majority of Mac software at the time, including loads of first applications from Apple, couldn’t run on Tiger. You had to run it in the “Classic” environment - and they never ported that to Intel.

          Tiger shipped just 4 years after the MacOS 9.2 and plenty of people hadn’t switched to MacOS X yet.

          The reality is Apple only brings things forward when they can do it easily.

          Apple has done eight major CPU transitions in the last 40 years (mix of architecture and bit length changes) and a single team worked on every single transition. Also, Apple co-founded the ARM processor before they did the first transition. It’s safe to assume the team that did all those transitions was also well aware of and involved in ARM for as long as the architecture has existed.

      • Treczoks@lemmy.world
        link
        fedilink
        English
        arrow-up
        17
        arrow-down
        1
        ·
        6 months ago

        No, this won’t get people to get hardware that looks horribly slow because everything needs to run through a translation layer. They do have the sources. They could just recompile them for the new hardware. If their sources are not total crap.

        • rottingleaf@lemmy.zip
          link
          fedilink
          English
          arrow-up
          6
          ·
          6 months ago

          I’d expect there’s quite a lot of assembly and endianness-dependent stuff here and there. It’s Microsoft. Their culture is about pride of things being arcane-complex inside, cause if you can untangle that, you are a good programmer. They think that. I think they think that. Maybe they are just vile.

          • Treczoks@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            6 months ago

            You may be spot on with that. Though the assembly part can be fixed by code translation at compile time. Endianess and shitty programming habits are another thing that the cross-executor must deal with, too, so maybe this has been covered already. Or it will blow up in their faces, anyway.

          • kalleboo@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 months ago

            Windows NT historically ran on lots of CPU architectures, PowerPC, MIPS, Alpha, Itanium, etc, and that included the bundled software like 3D Pinball. I would have expected it to still be quite portable.

      • Miaou@jlai.lu
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 months ago

        Microsoft really never do that port if they have a translation layer