ffi-rs / ffi.rs

Tracking the state of Rust's cross-language ecosystem
https://ffi.rs
MIT License
5 stars 0 forks source link

Project: cxx #10

Open nvzqz opened 4 years ago

nvzqz commented 4 years ago

🚀 Project Suggestion

Name: cxx

Languages: C++ (11)

Description: Provides a safe mechanism for calling C++ code from Rust and Rust code from C++, not subject to the many ways that things can go wrong when using bindgen or cbindgen to generate unsafe C-style bindings.

Sites:

Maintainers: @dtolnay

Status

crates.io

This project appears to have achieved its main goal but is still in the works (pre 1.0).

It is used by:

dtolnay commented 4 years ago

This is used currently for Rust–C++ FFI in Facebook's monorepo. Google has been experimenting with it in Chromium: https://chromium.googlesource.com/chromium/src/+/d3d87093b9e0a13e4e56d15ff9420d7f03c88de4%5E!/.