Join Slack
Powered by
can we use rust somehow in multiplatform shared mo...
# multiplatform
k
Kashismails
02/16/2024, 12:06 PM
can we use rust somehow in multiplatform shared module specifically in android ios ?
j
Jan Holešovský
02/16/2024, 12:33 PM
Haven't tried myself, but I'd do a rust C binding (
https://developers.redhat.com/articles/2022/09/05/how-create-c-binding-rust-library#
) and JNI on top of that for Android, cinterop for iOS...
k
Kashismails
02/16/2024, 12:39 PM
that i know of and i have done that by myself as well, but what i want to know if we can connect some rust lib directly to kotlins shared module a pure kotlin module
m
Michael Paus
02/16/2024, 1:11 PM
Does
https://github.com/mozilla/uniffi-rs
have anything to offer in that direction? Especially this
https://gitlab.com/trixnity/uniffi-kotlin-multiplatform-bindings
could be interesting.
🤩 2
k
Kashismails
02/17/2024, 10:08 AM
@Michael Paus
this is amazing, just what i was looking for
124
Views
Open in Slack
Previous
Next