Ross ROSS = Recommend OSS · open-source software intelligence for agents

xlab/c-for-go

Some data may be outdated — see provenance labels.

Automatic C-Go Bindings Generator for Go Programming Language observed · 2026-10-03

github.com/xlab/c-for-go · homepage · Go · MIT (permissive) observed · 2026-10-03

Health v2 · maintenance only

51/100

  • Activity 62
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4103
  • days_rel: n/a
  • days_push: 230
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1685 stars · 123 forks observed · 2026-10-03

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

c-for-go is an automatic C-Go bindings generator for the Go programming language. It parses C headers using a YAML manifest to generate low-level cgo-based Go packages that wrap existing C/C++ libraries.

Use cases

  • generate go bindings for a c library
  • wrap c headers in go automatically
  • use a c library from go without writing cgo by hand
  • create go package from c api headers
  • bind vulkan or other c apis to go
  • convert c header files to go code

When to choose

  • you need to call an existing C library from Go and want to avoid hand-writing thousands of lines of cgo
  • you want reproducible, manifest-driven binding generation for large C APIs
  • you are comfortable managing memory and writing a high-level Go wrapper on top of low-level bindings

When to avoid

  • you need a pure-Go solution with no cgo dependency
  • the C library is tiny and a few hand-written cgo bindings would be simpler
  • you need bindings for languages other than Go

Facets

cli-tool · maturity maintenance

parser developer-tools developer-tools programming-languages cross-platform go cli cross-platform cgo bindings-generator c-interop yaml-manifest code-generation

2 sources

Member repositories

RepositoryRoleHealth v2
xlab/c-for-gomain51

For agents

markdown · JSON · MCP: product_card(name="xlab/c-for-go")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem