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

Port to XCB #194

Closed
codesardine opened this issue Aug 2, 2015 · 3 comments
Closed

Port to XCB #194

codesardine opened this issue Aug 2, 2015 · 3 comments

Comments

@codesardine
Copy link
Contributor

I come across with this in the other day not sure if it interests you but i will drop the link here!
https://en.wikipedia.org/wiki/XCB

@technosaurus
Copy link
Contributor

I started writing some notes to support this a while back:
https://github.com/technosaurus/jwm/commits/master
I was only trying to learn xcb though, at the time xcb was missing a few
things that have since been completed.
Even still it is an undertaking that would only benefit threading since
any size benefit can be had by compiling against musl libc and
https://github.com/idunham/tinyxlib
Making jwm multithreaded would increase the code complexity/size.
Unfortunately libX11 is not going away any time soon
(gtk still has't finished their xcb port)
Doing this now is just premature optimization.
Feel free to fork jwm and try it, if you are just interested in learning xcb
or look at http://uwm.sourceforge.net/
However, time would be better spent finishing the gtk port or
fixing the decade+ old bug in libX11 that nearly doubles its size for
no useful purpose (namely including its own iconv)

@joewing
Copy link
Owner

joewing commented Aug 2, 2015

I don't know that there would be much to gain from switching to libxcb. As mentioned, JWM is not multithreaded and probably wouldn't benefit much from being multithreaded. More importantly, libxcb would be an additional dependency to be ported to platforms where JWM currently runs with ease (old versions of Solaris, IRIX, HP-UX, AIX, etc.).

@codesardine
Copy link
Contributor Author

@joewing @technosaurus i only dropped the link here since i read that it has performance benefits compared with libx11 and jwm is good with that, anyway C his out of my league just wanted joe to be aware of XBC also i read some applications are porting to it.

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