• Shareni@programming.dev
    link
    fedilink
    arrow-up
    10
    arrow-down
    28
    ·
    2 months ago

    Systemd monolith - worst thing to have ever happened to Linux

    Wayland monolith - best thing to have ever happened to Linux

    • d_k_bo@feddit.de
      link
      fedilink
      arrow-up
      35
      arrow-down
      3
      ·
      2 months ago

      Wayland monolith

      There seems to be misunderstanding about what Wayland is.

      Wayland is set of protocols. They are implemented by wayland servers (compositors) and wayland clients (applications) themselves. There is no single “wayland binary” like in the X11 days. Servers or clients may choose to implement or not implement a specific protocol.

      • NekkoDroid@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        I think what they meant is that there are people that think: “Wayland is too fragmented, there should be 1 ‘Wayland Compositor’ and the rest should be window managers”

        • Shareni@programming.dev
          link
          fedilink
          arrow-up
          12
          arrow-down
          5
          ·
          edit-2
          2 months ago

          Nope, I meant that the wayland compositors are inflexible monoliths that are so tightly integrated into a DE that they can’t be replaced. Xorg might be bloated, but it follows the UNIX philosophy closely enough that each part of the stack above xorg can be trivially replaced.

          • NekkoDroid@programming.dev
            link
            fedilink
            arrow-up
            8
            ·
            2 months ago

            I guess my interpretation was too charitable.

            Nothing in the protocol prevents you from splitting the server from the window manager, just everyone implementing the wayland server protocol didn’t see any benefit in splitting it out.

      • Shareni@programming.dev
        link
        fedilink
        arrow-up
        9
        arrow-down
        11
        ·
        edit-2
        2 months ago

        Sure, but that doesn’t change the fact that Wayland compositors are forced to be inflexible monoliths that need to be so tightly integrated into a DE that they can’t be replaced.

        Edit: I’ve just learned that it’s not forced, but that every compositor used by popular DEs is an inflexible monolith by choice.

        In xorg the server, wm, and compositor all do their own thing and can be replaced trivially. It took me like 5 minutes to replace xfwm4 with i3, and that included the research.

    • PseudoSpock@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      2 months ago

      Oh you had me going in the first half. Sly devil you. Wayland still doesn’t work on the fleet of equipment we have.

    • drwankingstein@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      6
      ·
      2 months ago

      I think wayland has potential but in it’s current state it’s just half baked. Once more protocols get merged, maybe in a decades time Wayland should be quite flexible and robust.

      • Shareni@programming.dev
        link
        fedilink
        arrow-up
        5
        arrow-down
        4
        ·
        2 months ago

        That’s how I feel as well. IMO it’s ridiculous that Fedora wants to remove xorg completely from the repos in the next version.

        • PseudoSpock@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          2 months ago

          It is ridiculous. Nothing like says f you to a large percentage of your user base like pushing out a solution that doesn’t work for them.

          • Shareni@programming.dev
            link
            fedilink
            arrow-up
            2
            arrow-down
            1
            ·
            edit-2
            2 months ago

            The wildest thing is that current xorg package is maintained by the community and they’re still removing it completely because “xorg is taking up too much dev time”.

        • drwankingstein@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          2 months ago

          It does have potential. I think anyone denying that is simply wrong. the issue with wayland is purely how slowly it moves and the fragmentation. Now the fragmentation is actually in large part due to how slowly it moves. There are numerous WIP protocols that will greatly decrease fragmentation when all are merged.

          I can’t wait because it seems like it will happen in the short future of one or two decades xD