kdroidFilter

Gradle plugin to use Kotlin/Native code transparently from JVM via FFM

10
0
100% credibility
Found Mar 31, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Kotlin
AI Summary

A tool that lets developers write fast native code and use it effortlessly in standard Java/Kotlin apps as if it were regular code.

How It Works

1
🕵️ Discover the tool

You stumble upon Nucleus Native Access on GitHub while searching for ways to make your desktop app run faster using special speedy code.

2
📥 Add to your project

You easily include this helpful tool in your app's setup file with just a few lines.

3
✍️ Write speedy code

You create your fast-performing functions, like a quick calculator or system checker, in a dedicated spot.

4
🔮 Magic connection happens

The tool automatically creates invisible bridges so your main app sees the speedy code as everyday helpers.

5
🔗 Use in your app

You call the speedy functions right in your regular app code, just like normal ones—no extra work.

6
▶️ Build and run

You build your app and launch it, watching everything work together smoothly.

🚀 App flies fast

Your app now zips along with native speed for heavy tasks, feeling powerful and seamless.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 10 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is NucleusNativeAccess?

This Gradle plugin lets JVM developers call Kotlin/Native code as if it were a standard Kotlin class—no JNI, annotations, or boilerplate required. Write classes, suspend functions, Flows, data classes, and collections in `nativeMain`, and use them transparently from `jvmMain` via JDK's Foreign Function & Memory API (FFM, JDK 22+). It bundles the native library in your JAR for zero-config deployment, with GraalVM native-image metadata included.

Why is it gaining traction?

Unlike JNI wrappers or manual FFM bindings, it auto-generates full proxies for inheritance, callbacks, enums, and exception propagation, backed by 1700+ end-to-end tests crossing the FFM boundary. Benchmarks show near-native speeds for compute tasks, zero JVM heap pressure for native allocations, and easy integration via Gradle Plugin Portal (add with `id("io.github.kdroidfilter.nucleusnativeaccess")`). Gradle GitHub Actions cache speeds CI builds, and it plays nice with gradle github packages for dependencies.

Who should use this?

Kotlin Multiplatform devs exposing native C interop (like libnotify or POSIX calls) to JVM/Compose Desktop apps. Backend teams needing low-GC math or system APIs without JNI pain. JVM shops targeting GraalVM native-image who want Kotlin/Native perf boosts.

Verdict

Grab it if you need seamless Kotlin/Native-to-JVM bridges—docs are thorough, tests extensive, examples run out-of-box. At 10 stars and 1.0% credibility, it's early but stable for prototypes; watch for caching improvements before production.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.