Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discussion] - XCB instead of Xlib? #2

Open
dalmoz opened this issue Jul 27, 2012 · 2 comments
Open

[Discussion] - XCB instead of Xlib? #2

dalmoz opened this issue Jul 27, 2012 · 2 comments

Comments

@dalmoz
Copy link

dalmoz commented Jul 27, 2012

Will it be more efficient to make the project dependent on XCB instead of Xlib?

In terms of -

  1. Fewer lines of code
  2. Resource-consumption-wise
@mackstann
Copy link
Owner

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

@TruncatedDinoSour
Copy link

TruncatedDinoSour commented Nov 18, 2021

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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants