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

Extract the C binding to a separate repo #1268

Open
EchoPouet opened this issue Jan 13, 2025 · 0 comments
Open

Extract the C binding to a separate repo #1268

EchoPouet opened this issue Jan 13, 2025 · 0 comments

Comments

@EchoPouet
Copy link

Hello,

First of all, I'd like to thank you for the work you've done.
I discovered this project when I wanted to use OpenCV with Zig lang and found zigcv.
zigcv uses your C binding to generate a wrapper and it works well.
As a V dev, I did a little test based on the same idea -> vcv.

My idea is this: why not extract the C binding to another repo on GitHub ?

IMHO I see several advantages:

  • Not mixing Go and C code and build files
  • Make specific tests for the C binding
  • Other languages such as Zig, V, C3, Odin ... can use it and contribute.
  • Easier to contribute

Disadvantages :

  • 2 repositories for you to manage
  • synchronisation between repositories
  • more work

This may mean more work, but it would open the door to more contributions. Just a suggestion.

Thanks.

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

1 participant