Calling C from Other Languages
← Back to Foreign Function Interface (FFI)
Most languages provide FFI mechanisms to call C functions, since C’s calling convention is the de facto standard for system-level interfaces. Examples include Python’s ctypes/cffi, Rust’s extern “C”, Java’s JNI, and Go’s cgo.