2026-10-22 17:50 UTC
Replies (2)
-
@mxchara@cyberpunk.lol 2026-10-22 17:52
the following sample code is like three pages long, to put up ONE WINDOW
-
@menos@todon.eu 2026-10-22 20:07
@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.