• underscores@lemmy.zip
    link
    fedilink
    English
    arrow-up
    29
    arrow-down
    4
    ·
    3 days ago

    there’s a disgusting implication that Linux is stealing code from Windows to implement APIs from this title

    I can’t wait to get rage baited about it from my windows using friends

    “Linux is only doing good now because they’re copying windows APIs into the kernel!”

    • Scoopta@programming.dev
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      2 days ago

      I mean…the code isn’t copied but the design is and it honestly frustrates me. Like yes Linux performance is improving…but I personally don’t like adding kernel functionality specifically for the benefit of wine

      • bitfucker@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        1 day ago

        I honestly welcome it. It brings up a lot more than just games in the future like MCAD and maybe even more creative apps.

      • auzy1@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        Why? Lots of people are using wine.

        That’s like saying we shouldn’t be including modules for reverse engineered hardware that only benefits that company

          • auzy1@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            8 hours ago

            Depends. For games it’s usage is fairly common these days. It’s transparent in steam

            It’s not perfect for apps but it does a surprisingly good job

        • Scoopta@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          15 hours ago

          No, that’s not quite the same thing, I fundamentally don’t think it should be Linux’s goal to be a good windows emulator. It’s fine if wine exists and people use wine for that, but I don’t think that should be a goal for the kernel, this starts pushing into that territory. Hardware support very much is the Kernel’s job and modules which benefit it should be there if it’s meaningful

          • auzy1@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            8 hours ago

            Except this is a scheduler issue from my understanding.

            You can make the argument to put everything into user space, but it’s a performance issue.

            One of the growing huge applications of linux these days is gaming, which depends hugely on performance, and almost every gamer out there is likely using wine (generally, without even realising it).

            • Scoopta@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              7 hours ago

              It’s not a scheduler issue, it’s a windows apps do thread synchronization differently to linux apps. Additionally fsync in the vast majority of use cases works just fine, the article notes most performance comparisons are against vanilla wine synchronization, i.e. without fsync or even esync. Regardless I still don’t think the kernel should be emulating windows scheduling behavior.

              • auzy1@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                6 hours ago

                Don’t compile it in then…

                It’s literally that simple… but yeah, it is sync, you are correct

                We could debate the advantage and disadvantages of a lot of things in the main kernel. There’s so much stuff in there that only benefits certain limited applications, and we could make the argument for userspace for almost everything, including a lot of filesystem drivers

                Like it or not, wine and gaming is probably the biggest avenue where Linux is winning on the desktop at the moment (especially thanks to steam). We shouldn’t ignore it

                I’ve been using Linux for at least 20+ years now. And seen a lot of stuff come and go.

                A lot of distros are shipping with ntsync anyway, and, it’s something that will definitely get maintained

                • Scoopta@programming.dev
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  3 hours ago

                  I already don’t compile it in…I’m just stating my opinion. I don’t think that should be something in the kernel. I complain, but I also do something about it.

                • auzy1@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  5 hours ago

                  Also, I grew up trying games like Unreal tournament on Linux.

                  At the time, I thought wine was stupid and would never catch up.

                  However we’re at the point that a lot of games already run better on Linux than windows even via wine… There are even more opportunities here in the future

      • psud@aussie.zone
        link
        fedilink
        English
        arrow-up
        23
        ·
        2 days ago

        The game supply is built against those APIs. If games are to be played on Linux it is necessary to adapt to the games until Linux is big enough that games change for us.

      • FauxLiving@lemmy.world
        link
        fedilink
        arrow-up
        15
        ·
        2 days ago

        I personally don’t like adding kernel functionality specifically for the benefit of wine

        Well, luckily, you can personally have a kernel without that functionality