I haven&#x27;t used it yet, but apparently Rust&#x27;s FFI with C (in both directions) is quite good:<p><a href="https:&#x2F;&#x2F;doc.rust-lang.org&#x2F;book&#x2F;ffi.html" rel="nofollow">https:&#x2F;&#x2F;doc.rust-lang.org&#x2F;book&#x2F;ffi.html</a>