alexcrichton/rust-ffi-examples resource
FFI examples written in Rust observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4154
- days_rel: n/a
- days_push: 2375
- n_releases_24m: 0
Adoption not part of the score
1248 stars · 183 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A collection of example projects demonstrating how to interface Rust with other languages via FFI (foreign function interfaces). It covers calling Rust from languages like C, Python, Ruby, and Node.js.
Use cases
- learn how to call Rust from C
- embed Rust code in a Python project
- create C-compatible Rust libraries
- examples of Rust FFI with dynamic libraries
- bind Rust functions to other languages
- understand Rust extern and #[no_mangle] usage
When to choose
- you need working, minimal examples of Rust FFI with various languages
- you are learning how Rust interoperates with C ABIs
- you want a starting template for a Rust native library consumed by other languages
When to avoid
- you need maintained, up-to-date FFI guidance for modern Rust toolchains
- you require production-ready binding generators or tooling
- you need support or fixes, since the repository is archived
Facets
learning-resource · maturity abandoned
developer-tools developer-tools programming-languages tutorials cross-platform rust python cpp c ffi rust-ffi examples interoperability language-bindings
1 source
- readme: https://github.com/alexcrichton/rust-ffi-examples · fetched 2026-08-28 · b5eae7c76e3d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| alexcrichton/rust-ffi-examples | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="alexcrichton/rust-ffi-examples")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem