google/autocxx
Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 95
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 3.0
- age_days: 2211
- days_rel: 548
- days_push: 34
- n_releases_24m: 5
Adoption not part of the score
2556 stars · 176 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Autocxx is a Rust library and code-generation tool that automatically generates safe, ergonomic bindings for calling C++ from Rust, driven directly from existing C++ headers. It works by plugging a fork of bindgen into the cxx crate, combining cxx's safety guarantees with bindgen's automation.
Use cases
- call C++ libraries from Rust safely
- generate Rust bindings from existing C++ headers
- automate Rust/C++ FFI without hand-writing cxx bridges
- subclass C++ classes from Rust
- export Rust code to C++
- migrate a C++ codebase to Rust incrementally
When to choose
- you have existing C++ headers and want automated, safe bindings
- you want cxx-style safety without hand-writing bridge definitions
- you're incrementally rewriting C++ projects in Rust
When to avoid
- you're starting fresh and can use cxx or crubit directly (recommended by the project itself)
- you need actively maintained tooling - the project is seeking new maintainers
- you need C++ bindings generated from Rust rather than from C++ headers
Facets
library · maturity maintenance
developer-tools compiler parser developer-tools programming-languages cross-platform rust cpp cross-platform ffi cxx bindgen rust-cpp-interop code-generation
10 sources
- readme: https://github.com/google/autocxx · fetched 2026-08-28 · 6d916b44c273
- homepage: https://docs.rs/autocxx · fetched 2026-08-29 · 6822ab99e7a7
- site_page: https://docs.rs/ · fetched 2026-08-29 · 9097c140fbda
- site_page: https://docs.rs/crate/autocxx/latest · fetched 2026-08-29 · 8db6c6b8f6fe
- site_page: https://docs.rs/crate/autocxx/latest/features · fetched 2026-08-29 · 810dbe2b07c3
- site_page: https://docs.rs/about · fetched 2026-08-29 · 29ab7986fbf5
- site_page: https://docs.rs/about/badges · fetched 2026-08-29 · 6588cac258af
- site_page: https://docs.rs/about/builds · fetched 2026-08-29 · 811231ca4680
- site_page: https://docs.rs/about/metadata · fetched 2026-08-29 · 0dcdccb2b2b2
- site_page: https://docs.rs/about/redirections · fetched 2026-08-29 · 1b1efd93105f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/autocxx | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem