|
|
|
|
|
by sprash
1255 days ago
|
|
> there's nothing at the protocol level that prevents the long tail Severe over engineering, unstable interfaces, massive boiler plate and huge development overhead is preventing the long tail "at the protocol level". As example: Compare the Wayland "Hello World" [1] with X11 "Hello World" [2]. If you want to add the ability to take screenshots it gets exponentially worse. (Also the Wayland version is not even capable to render strings.) 1.: https://github.com/emersion/hello-wayland/blob/master/main.c 2.: https://rosettacode.org/wiki/Window_creation/X11#C |
|
No, all those can be solved with client libraries. X11 had Xlib and the other client libraries. Those X11 libraries don't make sense in Wayland, but the client libraries that stayed relevant (freetype, cairo, etc) can still be used.
>If you want to add the ability to take screenshots it gets exponentially worse.
No, in both modern X11 or Wayland, you should use the same API for screenshots: the XDG screenshot portal.
>Also the Wayland version is not even capable to render strings.
Sure it is, but you have to use client-side rendering. Client-side rendering is also the norm in X11, since decades ago when Xft was released as another one of those client libraries. That X11 hello world is short because it's using obsolete APIs.