jnr/jnr-ffi
Java Abstracted Foreign Function Layer observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 98
- Release rhythm 66
- Longevity 100
Flags: 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: 5690
- days_rel: 13
- days_push: 13
- n_releases_24m: 1
Adoption not part of the score
1323 stars · 160 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
JNR-FFI is a Java library for loading and calling native (C) libraries from Java without writing JNI code by hand or using tools like SWIG. It provides a declarative interface-based API for mapping native functions to Java methods.
Use cases
- call C library functions from Java without writing JNI
- load native shared libraries in a JVM application
- replace hand-written JNI bindings with declarative Java interfaces
- bind libC or other system libraries from Java
- avoid SWIG code generation for native interop
When to choose
- you need to call native C libraries from Java with minimal boilerplate
- you want a simpler alternative to JNI or SWIG
- you need cross-platform native library loading on the JVM
When to avoid
- you only need pure-Java functionality with no native dependencies
- you need maximum FFI performance and can tolerate JNI complexity
- you are not on the JVM platform
Facets
library · maturity active
sdk developer-tools developer-tools programming-languages cross-platform jvm windows ffi jni-alternative native-libraries java linux macos
1 source
- readme: https://github.com/jnr/jnr-ffi · fetched 2026-08-28 · 8492ca01dd73
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jnr/jnr-ffi | main | 87 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem