How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.
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 main features of dtolnay/cxx are: Rust-C++ FFI Generators, Cross-Language Zero-Copy Passings, Rust-C++ Type Mappings, Zero-Cost FFI Generators, C++ Function Invocations, Native Type Bridges, Cross-Language Ownership Transfers, C++ Language Bridges.
Projects with overlapping indexed features include: kdab/cxx-qt — CXX-Qt is a framework that connects Rust code with the Qt framework and QML interfaces through a bridging layer that… rust-lang/rust-bindgen — Rust-bindgen is a build-time foreign function interface binding generator and C header parser designed to automate… fzyzcjy/flutter_rust_bridge — flutter_rust_bridge is a code generation tool that automatically creates type‑safe Dart bindings for Rust functions,… rhaiscript/rhai — Rhai is an embedded scripting engine and dynamically typed language designed for integration into Rust applications.… crystal-lang/crystal — Crystal is a statically typed, compiled programming language designed for high performance and memory safety. It… nim-lang/nim — Nim is a statically typed, compiled systems programming language designed for high performance and cross-platform…
CXX-Qt is a framework that connects Rust code with the Qt framework and QML interfaces through a bridging layer that safely maps idioms between environments. It provides a macro-based system that defines QObject subclasses in Rust, exposing data and behavior directly to QML, JavaScript, and C++. The framework generates bidirectional bindings during compilation, transforming high-level Rust syntax declarations into companion C++ and Meta-Object Compiler files. It features cross-language type sharing, common data type adaptation for both Rust and Qt environments, and core utility interoperabil
Rust-bindgen is a build-time foreign function interface binding generator and C header parser designed to automate cross-language interoperability. It functions as a tool to bridge Rust with C, C++, and Objective-C libraries by producing platform-specific declarations during the compilation process. The project distinguishes itself through its ability to handle complex C-family language constructs, including C++ inheritance and methods, as well as Objective-C classes and protocols. It ensures binary compatibility across different architectures by calculating target-aware memory layouts and va
flutterrustbridge is a code generation tool that automatically creates type‑safe Dart bindings for Rust functions, enabling direct cross‑language calls between Flutter and a Rust backend. It provides an async FFI adapter that transforms synchronous Rust functions into Dart async methods with background thread management, a cross‑language object manager that wraps persistent Rust structs as Dart objects preserving state across calls, and trait object interop that converts Rust traits into Dart abstract classes for seamless bidirectional use. The project handles the full lifecycle of integrat
Rhai is an embedded scripting engine and dynamically typed language designed for integration into Rust applications. It functions as an abstract syntax tree compiler and native interop layer, allowing developers to map Rust types and functions into a scripting environment for bidirectional communication. The project serves as a framework for creating customizable domain-specific languages. It allows for the definition of custom operators, syntax, and restricted execution environments, enabling the creation of specialized languages with tailored functional sets. The engine covers a broad rang