Linux vs Windows tested in 10 games - Linux 17% faster on Average::Computers, hardware, software and gaming in Spanish and English

  • raspberriesareyummy@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    8 months ago

    It is an emulator when actual Windows binaries are executed against it.

    I suppose I am not sure entirely what constitutes an emulator and what doesn’t, but I always thought an emulator mimics (emulates) a certain systems architecture, i.e. has to be slower by design than the real thing. In wine, however, windows system calls are replaced / re-routed to the underlying linux system calls which are often much faster, which is why wine often exceeds windows in performance executing windows binaries (assuming you can get them to run at all :)

    • erwan@lemmy.ml
      link
      fedilink
      English
      arrow-up
      8
      ·
      8 months ago

      An emulator simulates hardware with software. That’s why it’s slower than running on the original hardware, unless you’re running on a hardware significantly faster than the original.

      But Wine is not an emulator because it mimics software with different software. You still run on the same hardware, that’s why wine/proton only runs on x86.

      So the whole “wine is not an emulator” might sounds like pedantry but it’s not. It’s an important distinction. Because it’s not an emulator there is no inherent perf cost.

      • raspberriesareyummy@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        thanks, this is exactly my understanding, just worded better because I was apparently linguistically challenged on my previous post… :D

    • arc@lemm.ee
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      8 months ago

      I suppose I am not sure entirely what constitutes an emulator and what doesn’t, but I always thought an emulator mimics (emulates) a certain systems architecture, i.e. has to be slower by design than the real thing. In wine, however, windows system calls are replaced / re-routed to the underlying linux system calls which are often much faster, which is why wine often exceeds windows in performance executing windows binaries (assuming you can get them to run at all :)

      WINE has a FAQ on the matter - https://wiki.winehq.org/FAQ#Is_Wine_an_emulator.3F_There_seems_to_be_disagreement

      Short story, it depends what you use WINE for and the perspective you’re looking from. I think from a binary’s POV that thinks it is calling Windows OS it is emulation.