interop
Prev: third_party | Up: index | Next: index
Rel: index, third_party, python3, rust, java, c
Ref: PyO3 User Guide | docs.python.org — ctypes | OpenJDK JEP 454 — FFM API
Tags: #public #prog #interop #ffi #index
Overview
Cross-language interoperability guides and bridge patterns connecting languages in this vault across ABI, FFI, and native extension boundaries.
Bridges
- Rust & Python via PyO3 + Maturin — Building high-performance, type-stubbed Python extension modules in Rust with GIL release and wheel packaging.
- Java & C Native Bridge (FFM API & JNI) — Calling C shared libraries from Java using Java 22+
java.lang.foreign(zero C glue, deterministicArenalifetimes) and classic JNI. - C & Python via `ctypes` — Compiling a pure-C shared library (
.dylib/.so) and calling it with Python's zero-dependencyctypes. - Rust & C via `extern "C"` ABI — Exposing
#[repr(C)]structs and C-ABI functions across Rust and C.
Linked from
Related notes
- tuts/interop/java_and_c_ffm_and_jni Linked here; links to this page; shared tags: #ffi, #interop, #prog
- tuts/index Linked here; links to this page; shared tags: #index, #prog
- tuts/interop/rust_and_python_pyo3_maturin Linked here; links to this page; shared tags: #interop, #prog
- tuts/third_party Linked here; links to this page; shared tags: #index, #prog
- tuts/c Linked here; shared tags: #index, #prog
- tuts/c/tutorials/c_shared_library_with_python_ctypes Linked here; shared tags: #ffi, #prog
- tuts/java Linked here; shared tags: #index, #prog
- tuts/python3 Linked here; shared tags: #index, #prog
- tuts/rust Linked here; shared tags: #index, #prog
- tuts/rust/ownership_and_internals/unsafe_rust_and_ffi_abi Linked here; shared tags: #ffi, #prog