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

dtolnay/cxx

Safe interop between Rust and C++ observed · 2026-08-28

github.com/dtolnay/cxx · homepage · Rust · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

94/100

  • Activity 99
  • Release rhythm 84
  • 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: 2.0
  • age_days: 2441
  • days_rel: 25
  • days_push: 8
  • n_releases_24m: 71

Full methodology

Adoption not part of the score

6810 stars · 419 forks observed · 2026-08-28

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

CXX is a Rust library providing a safe, statically analyzed foreign function interface between Rust and C++. It generates zero-overhead bridge code on both sides from a single shared description of the FFI boundary, with idiomatic bindings for standard library types.

Use cases

  • call C++ code from Rust safely
  • expose Rust functions to a C++ application
  • generate Rust bindings for a C++ library
  • avoid unsafe C-style FFI bindings
  • integrate Rust into an existing C++ codebase
  • bridge Rust String and Vec with std::string and std::vector

When to choose

  • you need bidirectional Rust/C++ interop with memory safety guarantees
  • you want zero-overhead FFI without serialization or copying
  • you need idiomatic bindings for standard library types like unique_ptr and Box
  • your build uses Cargo, Bazel, or Buck and you want generated bridge code

When to avoid

  • you only need bindings for C, not C++ (bindgen may suffice)
  • you need to interop with languages other than C++
  • your C++ code uses templates or features outside CXX's supported type regime

Facets

library · maturity stable

compiler developer-tools concurrency developer-tools programming-languages cross-platform rust cpp cross-platform ffi interop code-generation bindings c-plus-plus build-tool

3 sources

Member repositories

RepositoryRoleHealth v2
dtolnay/cxxmain94

For agents

markdown · JSON · MCP: product_card(name="dtolnay/cxx")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem