2026-10-22 20:07 UTC
@mxchara@cyberpunk.lol Have you seen the thousands of lines of code that are necessary to get any contemporary graphics card to display anything at all? The hundreds of thousands to make it work with *most* hardware you might have? The literally millions of lines once you add all possible input devices? It's complex shit is why. It's not meant to be used directly by application programmers.
Luckily you don't *have* to deal with it, you can use an abstraction like Wayland, write a couple hundred lines instead. But Wayland is complex shit and a couple hundred lines is still a lot. It's not meant to be used directly by application programmers. Luckily you don't *have* to deal with it, you can use an abstraction like GTK or Qt or Tk and get it down to a single line if you like. Choose the abstraction that suits you.
That's not to say there's no valid criticism of Wayland, but that talking to it over raw sockets is tedious isn't really one.
Replies (1)
-
@mxchara@cyberpunk.lol 2026-10-22 20:12
@menos@todon.eu I learned raw X11 programming in 1990s computer science classes, 700+ lines of code to show one window is ridiculous