Open
Description
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:
- All types in one file https://github.com/vulkan-go/vulkan/blob/master/types.go
- All functions in one file https://github.com/vulkan-go/vulkan/blob/master/vulkan.go
- No methods
Should we take a deeper look?
Metadata
Metadata
Assignees
Labels
No labels