• n2burns
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    8
    ·
    1 month 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
      ·
      1 month 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
          ·
          1 month 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.

          • fuckwit_mcbumcrumble@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            4
            ·
            1 month ago

            That’s assuming the writer knows what they’re talking about. Last line from the second paragraph:

            Windows 11 has similar translation capabilities, and with the Windows 11 24H2 update, that app translation technology is getting a name: Prism.

            And first line from the third paragraph.

            Microsoft says that Prism isn’t just a new name for the same old translation technology.

            • woelkchen@lemmy.world
              link
              fedilink
              English
              arrow-up
              5
              arrow-down
              8
              ·
              edit-2
              1 month ago

              That’s assuming the writer knows what they’re talking about.

              Certainly more than you because Prism emulates an x86 CPU and WINE doesn’t, therefore the WINE comparison is still wrong.

              Edit: Please prove the writer wrong.

              • n2burns
                link
                fedilink
                English
                arrow-up
                6
                arrow-down
                4
                ·
                1 month ago

                This article seems to conflate “emulation” and “translation layer”. I don’t think there is anything that confirms “Prism emulates an x86 CPU”, only that it allows for running x86 code on ARM. This does not inherently require emulation as demonstrated by Rosetta 2, which is a translation layer.

                • woelkchen@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  5
                  arrow-down
                  1
                  ·
                  edit-2
                  1 month ago

                  only that it allows for running x86 code on ARM. This does not inherently require emulation as demonstrated by Rosetta 2, which is a translation layer.

                  WINE doesn’t “translate” one CPU architecture to another CPU architecture either, so the WINE comparison is still wrong, no mater if CPU translation is called emulation by you or not. WINE is a wrapper for API calls within the same CPU architecture. That’s it.

                  • n2burns
                    link
                    fedilink
                    English
                    arrow-up
                    2
                    arrow-down
                    7
                    ·
                    1 month ago

                    WINE doesn’t “translate” one CPU architecture to another CPU architecture

                    Wrong again.