Our great sponsors
-
rust-bindgen
THIS CRATE IS DEPRECATED, please use https://github.com/servo/rust-bindgen. (by Yamakaky)
-
slint
Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
But Rust has their "library" to create the wrapper bindings https://crates.io/crates/bindgen and it does a more than decent job, it will struggle with some C++ things but 99% of the time it can do it alone
See Slint.
- Unreal https://github.com/MaikKlein/unreal-rust and if you look inside the FFI part (called workspace in Rust) at what libs it uses https://github.com/MaikKlein/unreal-rust/blob/main/unreal-ffi/Cargo.toml is cbindgen which is a FFI generator tool
Google has invested a lot of money also in https://cxx.rs/ so is not as a big deal at it should be using C++ with Rust
- Cuda is not doing by FFI linking, instead is compiling CUDA code natively in Rust https://github.com/Rust-GPU/Rust-CUDA and even if it not complete as the C++ SDK is more than a toy
- OpenMPI https://github.com/rsmpi/rsmpi and if you look at dependency you will find mpi-sys (is a rust thing but it is the current FFI part) and if go and look for it https://crates.io/crates/mpi-sys/0.2.0/dependencies sure it have it, bindgen as a dependency