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

Remove Linux Cgo requirement #25

Open
gen2brain opened this issue Apr 6, 2022 · 1 comment
Open

Remove Linux Cgo requirement #25

gen2brain opened this issue Apr 6, 2022 · 1 comment

Comments

@gen2brain
Copy link

Did you consider using https://github.com/BurntSushi/xgb which is Cgo free/native binding to XCB? I am not sure though, but it should be possible to rewrite with XCB instead of Xlib so Linux implementation can be Cgo free.

@changkun
Copy link
Member

changkun commented Apr 7, 2022

It is an interesting option (maybe this fork is more up to date https://github.com/jezek/xgb), and also would be wonderful if we could remove cgo completely. Nevertheless, I think we will consider writing everything ourselves without introducing third dependencies outside golang.org.

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

No branches or pull requests

2 participants