[Discussion] - XCB instead of Xlib?
Will it be more efficient to make the project dependent on XCB instead of Xlib?
In terms of -
- Fewer lines of code
- Resource-consumption-wise
My vague impression of XCB is that it would probably require more lines of code. I could definitely be wrong though.
Resource consumption -- what resource consumption? :-)
I just googled it and it looks like someone has beaten us to the punch: https://github.com/rtyler/tinywm-ada/blob/master/tinywm-xcb.c
My vague impression of XCB is that it would probably require more lines of code. I could definitely be wrong though.
Resource consumption -- what resource consumption? :-)
I just googled it and it looks like someone has beaten us to the punch: https://github.com/rtyler/tinywm-ada/blob/master/tinywm-xcb.c
Resource consumption -- what resource consumption? :-)
Yeah I agree (so small it's barely noticable), but as XCB is smaller the binary would not be as big (probably) and it might be even lighter on ram :+1: