1 Repo
Produces C++ header and source files from Rust bridge definitions for cross-language function calls and type sharing.
Distinct from Source Code Generators: Distinct from Source Code Generators: specifically generates C++ code from Rust declarations, not general source generation.
Explore 1 awesome GitHub repository matching programming languages & runtimes · C++ Header and Source Generators. Refine with filters or upvote what's useful.
CXX is a code generator that produces a safe, zero-overhead FFI bridge between Rust and C++. It lets functions and data types from either language be used directly in the other, with static type safety enforced at compile time and no copying, serialization, or runtime checks across the boundary. The bridge supports the full range of cross-language interactions: Rust can call C++ functions and use C++ types, and C++ can call Rust functions and use Rust types. Standard library types like strings, vectors, and smart pointers are mapped automatically between the two languages, while opaque types
Produces C++ header and source files from Rust bridge definitions for cross-language calls.