Language Interoperability

Rust supports language interoperability in a couple of ways:

  • Through the built-in Foreign Function Interface (FFI), for calling C functions, and
  • With 3rd-party library support, e.g., PyO3 for calling Python functions.

Learn more about FFI: https://doc.rust-lang.org/stable/rust-by-example/std_misc/ffi.html