by quanticle · 14y ago · 0 comments
Windows will happily run 10 year old GUI code. OSX will still run 7 year old GUI code. But Linux? Depending on the which window manager you're using, even 2-3 year old code can be horribly broken by API updates. As a developer, this is one of the chief reasons I'm considering abandoning Linux and moving to OSX. It's just too bothersome to deal with the ever-increasing flux in Linux GUI libraries.
There are many problems with compatability, but sometimes it's overstated.
I think somehow that consistency in the unix/linux world is an anathema, with a good old whack of NIH syndrome.
And see this, XCB has been around at least since 2006 (when I first heard about it)
The X model was good, but now it's a hinderance. A really big one.
Give the developers a smart framebuffer (I'm not sure linux fb has any hw acceleration features, but IIRC it doesn't) or just give a "Pure" OpenGL API to the developers. And build from that
Oh and by the way, try OSX, it's weird at first but I haven't looked back.
That simplicity is more or less the philosophy behind Wayland. You get a buffer to draw into with OpenGL, some extra stuff for interoperability between programs (drag and drop, window decoration) and that's more or less it.