rust-lang-interop icon indicating copy to clipboard operation
rust-lang-interop copied to clipboard

Rust language interoperability with other languages - C++, Rust, OCaml, Go, Python etc.

rust-lang-interop

Rust language interoperability with other languages - C, C++ etc.

Projects

  • autocxx - Generating interfaces automatically from existing C++
  • crust - C/C++ to Rust transpiler
  • cbindgen - A project for generating C bindings from Rust code
  • cc-rs - Rust library for build scripts to compile C/C++ code into a Rust library
  • rust-cpp - Embed C++ directly inside your rust code!
  • rustcxx - Using C++ from Rust made easy
  • rust-bindgen - Automatically generates Rust FFI bindings to C (and some C++) libraries
  • cxx2rs - A rust-binding generator for C files
  • cxx - C++ FFI without unsafe code, with easy interop of either language's common standard library types
  • ocaml-rs - OCaml extensions in Rust
  • pyo3 - Rust bindings for the Python interpreter

Guides

Examples

Contributions

This is a simple list for sake of discoverability, pull requests are welcome.