Beginner Questions About XCB - xcb_alloc_color is too slow

Carsten Haitzler raster at rasterman.com
Tue Feb 23 08:45:06 UTC 2021


On Mon, 22 Feb 2021 21:24:46 -0500 Sam Varshavchik <sam.varshavchik at gmail.com>
said:

> On Sun, Feb 21, 2021 at 4:47 PM Carsten Haitzler <raster at rasterman.com> wrote:
> >
> > Use Xlib. Or just use a toolkit higher up the stack. XCB really is for
> > people who already know X backwards. It can buy some speedups in some
> > corner-cases by avoiding round trips to the server and back and putting the
> > job of doing it async in your hands. Don't start with XCB. It's a great way
> > to drive yourself insane.
> 
> Well, I started with XCB. Some might disagree, but I still have all my
> marbles.
> 
> Not only have I started with XCB, I learned X11 with XCB. And I rode
> that horse all the way up to a widget toolkit based on XCB.
> 
> So, I'm evidence that learning X11 with XCB is doable.

It makes life harder that xlib for sure (having done both xlib and xcb).

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - raster at rasterman.com



More information about the xorg mailing list