[Xcb] Fwd: [GSoC] Project idea: C++ bindings for XCB

Uli Schlachter psychon at znc.in
Mon Mar 3 13:22:37 PST 2014


Hi,

On 02.03.2014 15:21, Alexander Mezin wrote:
[...]
> I want to write C++ binding/wrapper for XCB.
> When I worked on another GSoC project previous year (touchpad
> configuration utility for KDE [1]), I had to work with libxcb from C++
> code.
> I've noticed that libxcb's interface nicely maps to RAII idiom, but
> working with libxcb C API requires a lot of boilerplate code.
> I've found some C++ wrappers for libxcb, but it seems that they aren't
> actively developed.
> 
> I think that the best way is to use xcb protocol descriptions to
> generate C++ wrappers, which will internally use libxcb.
> I don't like templates as much as Boost developers do, so I try to
> avoid them when possible.
> Maybe it would be good to write C++ wrappers for utility libraries also.
[...]

I like this idea and I hope this can become reality!

> Does anyone want to be a mentor for this project?

Feel free to direct questions my way, but I don't think that I am up to the
task. Sorry.

Uli
-- 
If you ask me to debug your code, I'm going to mail you spiders.


More information about the Xcb mailing list