locka99/cpp-to-rust-book

Port Coding: missing more tools

Opened this issue · 0 comments

  • cxx-rs This library provides a safe mechanism for calling C++ code from Rust and Rust code from C++.

  • safer_ffi  is a framework that helps you write foreign function interfaces (FFI) without polluting your Rust code with unsafe { ... } code blocks while making functions far easier to read and maintain.

  • UniFFI is a tool that automatically generates foreign-language bindings targeting Rust libraries.

  • diplomat is a experimental Rust tool for generating FFI definitions allowing many other languages to call Rust code.