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

Viết các code C lại thành Go #531

Open
goatastronaut0212 opened this issue Sep 24, 2024 · 1 comment
Open

Viết các code C lại thành Go #531

goatastronaut0212 opened this issue Sep 24, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@goatastronaut0212
Copy link
Collaborator

goatastronaut0212 commented Sep 24, 2024

@luongthanhlam Mình hiện đang viết lại phần code GTK C thành Go tuy vậy mình vẫn muốn biết ý kiến và quan điểm của bạn về việc đó. Mặc dù https://github.com/diamondburned/gotk4 có vẻ hoạt động ổn áp với GTK4 trên Go thứ mình tìm có hỗ trợ GTK4.

Nếu thay thế codebase C GTK3 còn lại thành Go GTK4 thì đọc code rất dễ hơn nhưng hạn chế của nó là build rất chậm vì gotk không được package vào các hệ thống phổ biến. Ảnh hưởng thì AUR bị ảnh hưởng nhiều nhất hơn do package ibus-bamboo của họ không được chính thức đưa vào Arch official repositories nên phải build từ nguồn.

Còn viết lại phần X11 thành Go thì mình chưa làm gì hết nhưng có lẽ không cần 1 thư viện ngoài lề đâu.

@goatastronaut0212 goatastronaut0212 added enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels Sep 24, 2024
@luongthanhlam
Copy link
Contributor

Mình ủng hộ nhé, tuy nhiên cần test kĩ (viết unit tests càng tốt) vì gtk/X11 có khá nhiều vấn đề nếu bạn không hiểu rõ cách nó hoạt động

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants