this post was submitted on 12 Jan 2024
295 points (81.3% liked)
linuxmemes
20880 readers
3 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
They are not. Wayland compositors have to do a lot more of the same thing in every compositor than window managers ever had to. So many in fact that their whole central design idea has to be corrected for by everyone using wlroots to implement those common parts to get anywhere anyway which means wayland compositors in other languages without wlroots bindings are less likely.
Yes, but is that not entirely expected? As far as I understand, compositors are complete implementations of Wayland's display server specification, whereas window managers are just a helper program that, well, manages windows, while Xorg does the heavy lifting required to fully implement the X Window System protocol. So the only real difference that I see is that, in the X world, the "common parts" are managed by a separate process (Xorg), whereas in the Wayland world, they are managed by a separate library (wlroots). So a hobbyist developer trying to make a window manager in some obscure language would need to figure out how to communicate with Xorg in that language, whereas a developer trying to make a compositor in some obscure language would need to write wlroots bindings for that language. Maybe I am just ignorant, but those seem like comparable efforts to me.
And lastly, in the X world, the only (widespread) implementation of the X Window System protocol is Xorg, but, in the Wayland world, there are compositors that use wlroots, and those that don't. So wouldn't that alone indicate more fragmentation / diversity? Sure, there are more X window managers than Wayland compositors out there, but X11 has also existed for longer. In short, I don't see how the Wayland system is more adverse to diversity of implementations than X
I see wlroots as the bad workaround for the bad design decision to not have a single implementation in Wayland.