[Haskell] Haskell Xlib bindings

Benjamin Franksen benjamin.franksen at bessy.de
Wed Feb 7 14:51:21 EST 2007

Sven Panne wrote:
> [ moved to libraries list ]
> Am Montag, 5. Februar 2007 00:15 schrieb Duncan Coutts:
>> [...] Perhaps these days binding xcb might be the way to go for low level
>> X11 stuff.
>    * Is XCB 100% feature-complete compared to Xlib?

AFAIU, XCB is intentionally missing a number of 'high level' features of
XLib (I specifically remember server state caching and i18n). Most of these
features are usually not depended on by modern toolkits.

XCB implements the full protocol (which already makes for a daunting amount
of data types and routines). On top of that it implements a very lean
connection management and request handling API that allows (this is one of
the highlights) single-threaded as well as multi-threaded access.

See the very readable paper


More information about the Libraries mailing list