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

Have a look at Cgogen #9

Open
zimmski opened this issue Sep 20, 2016 · 0 comments
Open

Have a look at Cgogen #9

zimmski opened this issue Sep 20, 2016 · 0 comments

Comments

@zimmski
Copy link
Member

zimmski commented Sep 20, 2016

A new project was just announced [https://groups.google.com/forum/#!msg/golang-nuts/3I7TzmEirbo/x07zmVNcAgAJ] https://cgogen.com/ which generates cgo bindings automatically by parsing the underlying C source code. Sounds familiar?

The design decisions of cgogen are documented here https://github.com/xlab/cgogen/wiki/Design-decisions

I took a quick look and there is definitely a lot we could reuse, especially the conversion from C to Go structs. However, I do not think that the bindings should look like the result of cgogen:

Should we take a deeper look?

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