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

Alexander Mezin mezin.alexander at gmail.com
Sun Mar 2 06:21:37 PST 2014


Hello.

I am student and I want to participate in Google Summer of Code this year.

I have my own idea for project, not listed on ideas page.
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.

Does anyone want to be a mentor for this project?

Something about me:
Student, pursuing Master degree in Computer Science and Engineering,
Omsk State University, Russia.

- Successfully completed previous GSoC [1].
- I sometimes do bugfixes for various open-source projects (for
example, KDE desktop [2], Linux kernel [3]).
- Didn't do anything significant for X.org yet, mostly bugreports, and
one small fix for xf86-video-intel [4] (however, Chris Wilson changed
my patch significantly).

I also have a github account: https://github.com/sanya-m

[1] https://projects.kde.org/projects/playground/utils/kcm-touchpad/
[2] https://git.reviewboard.kde.org/users/alexandermezin/
[3] https://patchwork.kernel.org/patch/3432961/
[4] https://bugs.freedesktop.org/show_bug.cgi?id=73181


More information about the Xcb mailing list