• n2burns
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    4
    ·
    7 months 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
      7 months 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
        ·
        7 months ago

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

        Wrong again.

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

          “Windows apps are mostly compiled for x86 and they won’t run on ARM with bare Wine”

          What you linked is an effort to combine WINE with the QEMU x86 emulator which is an emulator because it emulates CPU calls. Hint that it’s an emulator is in the name “QEMU” and an actual quote from the wiki page you linked and clearly didn’t care to read: “Running Windows/x86 Applications: See Emulation

          EDIT: Let me also quote from the readme file of the Hangover project:

          Hangover uses various emulators as DLLs (pick one that suits your needs, e.g. works for you) to only emulate the application you want to run instead of emulating a complete Wine installation.