Linked by Thom Holwerda on Fri 21st Jul 2006 21:32 UTC
Thread beginning with comment 145526
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.





Member since:
2005-07-06
"Haiku's appserver is far more better than X-Windows and API is _EASY_. X-Windows API is unusable and not worth learning for me."
Ok, time to run violently off topic.
X doesn't have an API, it has a protocol. The closest most people come to this is the XLib library, the "standard" library for writing X applications. XLib has a very nasty API that's true, but it's not intended that you should have to interact with it very closely. Normally, when writing an X app, you use a toolkit (GTK+ etc.) as was always intended.
Anyway, result is that the "X-Windows API" isn't unusable, you probably use it quite regularly, you just don't have to worry about how exactly you do it. There are attempts to improve low level access to the X protocol (xcb for example,) and while these should help toolkit writers to write good libraries, they won't make things different for those happy to use the toolkits, which is almost everyone else.
AppServer is different to X, as the toolkit APIs are all very entangled with the lower level stuff, so you don't have to think about which you are using. That's a slightly false way of thinking about it though, as under BeOS you don't generally use the interfaces that would compare to XLib, those are nicely wrapped up for you in pretty C++ objects.