4 ms·
> X Window has a good design? Only because it allowed competing tool kits on top of it ("Provide mechanism rather than policy. In particular, place user interfa
by frankohn 8y ago
> X Window has a good design? Only because it allowed competing tool kits on top of it ("Provide mechanism rather than policy. In particular, place user interface policy in the clients' hands.")
Yes only this simple thing made a much better design. It can be used to provide a modern and beautiful desktop environment even 35 years after its creation.
> Besides the fact that the X libs are almost universally reviled and nobody used them as soon as they could (Motif, Qt, Gtk, etc.).
You are not supposed to use Xlibs directly to program user interface. They just provide the primitive APIs to create windows, process events and draw on the screen. It is normal to use a toolkit like Qt that use Xlib as a backend.
I agree that programming Xlib directly is not very sexy but it sort of make sense and is yet better than Win32 programming.
> The core concept, that of network part is actively being abandoned right now, see the Wayland efforts.
The fact that this is a good choice is still to be demonstrated.
> Win32 is also horrible, but you can kind of get why it was that way: the hardware was abysmal when it was conceived and backwards compatibility was super, super important in the early and cutthroat desktop market.
Yes, you can excuse them for creating Win32 at the time but they have no excuse for not providing qnything better after 30 years. Oh yes, you can create beautiful UI if you only use Visual Studio, you get use to all the warts and limitations, if you forget cross-platform, it will works only on windows, if you use visual studio installer and ship all the zillions of DLLs that you may need with the most baroque distribution system.
On windows I am still looking for a decent way of programming UIs without embracing all the MS bullshit.
- pjmlp 8y agoEven when compared against Amiga toolkits and Win16, Xlib with Athena or Motif were anything but pleasant. X Windows is the main reason of "The Year of Desktop Linux" failure. It is quite telling that ChromeOS and Android have ditched it. Also the only UNIX that was actually a pleasure to code for was NeXTSTEP, guess what, it also didn't care for X Windows other than compatibility purposes.
- msla 8y ago> X Windows ... doesn't exist, of course.
- pjmlp 8y agoFunny guy, everyone understood that I meant The X Window System™.
- msla 8y agoWell, it goes to demonstrating expertise, doesn't it? Hard to know something if you don't know what it's called, innit?
- pjmlp 8y agoIf it makes you feel better, by all means.
- msla 8y agoWe can do better than ignorant condescension here.
- oblio 8y agoThat’s ridiculous. The full name is super cumbersome and not really intuitive. Most people just call it X...
- msla 8y ago> The full name is super cumbersome and not really intuitive. ... how is X more cumbersome than "X Windows"? > Most people just call it X Right. Because that's its name.