Ross ROSS = Recommend OSS · open-source software intelligence for agents

getditto/safer_ffi

Write safer FFI code in Rust without polluting it with unsafe code observed · 2026-08-28

github.com/getditto/safer_ffi · homepage · Rust · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

59/100

  • Activity 80
  • Release rhythm 8
  • Longevity 100
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: 2287
  • days_rel: n/a
  • days_push: 121
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1052 stars · 51 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

safer_ffi is a Rust framework for writing foreign function interfaces without polluting code with unsafe blocks. It provides attribute macros to export Rust functions and types to C, including automatic C header generation.

Use cases

  • expose rust functions to c callers
  • generate c headers from rust code
  • write ffi bindings without unsafe code
  • build a c-compatible static or dynamic library from rust
  • call rust code from c or other languages

When to choose

  • you maintain a rust library consumed from c, c++, or other ffi-capable languages
  • you want safe, readable ffi signatures instead of raw pointers
  • you need automatic c header generation

When to avoid

  • you need bindings between two non-rust languages
  • you need stable, fully mature guarantees - it is still in an alpha/rc stage
  • your project is pure rust with no ffi boundary

Facets

library · maturity active

sdk developer-tools parser developer-tools programming-languages cross-platform rust cpp c cross-platform ffi bindings c-interop header-generation no-std unsafe-rust

3 sources

Member repositories

RepositoryRoleHealth v2
getditto/safer_ffimain59

For agents

markdown · JSON · MCP: product_card(name="getditto/safer_ffi")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem