Skip to content

Show HN: Gobley – Call Rust from Kotlin Multiplatform

gobley.dev
1 pointsalgorithmdiscuss
On HN

Hi Hacker News, we've just released Gobley v0.2.0!

Gobley provides Gradle build integration between Kotlin Multiplatform (KMP) and Cargo for Android, iOS, and JVM. Kotlin/JS and Kotlin/WASM support is planned, so stay tuned!

We also have some documentation for newcomers: - Hands-on tutorial: https://gobley.dev/docs/tutorial - Cross-compilation tips to integrate Kotlin, Rust, and C++: https://gobley.dev/docs/cross-compilation-tips - Cross-platform example app (Android, iOS, Windows API, & Linux GTK): https://github.com/gobley/gobley/tree/main/examples/app/src - GitHub discussions: https://github.com/gobley/gobley/discussions

Gobley is a fork of the (now archived) uniffi-kotlin-multiplatform-bindings (https://gitlab.com/trixnity/uniffi-kotlin-multiplatform-bind...) which is built on Mozilla’s excellent (still active) UniFFI (https://github.com/mozilla/uniffi-rs) project.

Please try it out and let us know what you think!

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.