4 ms·
> You could use Xlib to program a client in pure X11 Xlib is actually not very pure X11; Xlib makes a lot of things synchronous whereas X11 is really an asynch
by toast0 5y ago
> You could use Xlib to program a client in pure X11
Xlib is actually not very pure X11; Xlib makes a lot of things synchronous whereas X11 is really an asynchronous messaging distributed systems protocol that happens to output to the screen as a side effect. Xcb is a much closer to the actual protocol library.
IMHO, a lot of early hate for X11 was really hate at Xlib; but as Xlib was the official library, it was understandable to get them confused.
- ptx 5y agoXCB is missing support for some important extensions, though. Such as Xft, so you can't display modern anti-aliased fonts (unless you somehow use Xlib at the same as XCB, I think?).