this post was submitted on 27 Mar 2024
10 points (91.7% liked)

Rust Programming

8219 readers
28 users here now

founded 5 years ago
MODERATORS
 

Hi.

Rust can run on anything from web browsers to Adruinos. BUT can you make Android/iOS apps with it? I heard that you can make the backend of your app in Rust and then incorporate it into your Java/Kotlin app, but I'm looking for something like React Native or Flutter, where you can build the entire app (including UI and interacting with native APIs) in Rust without writing a single line of Java/Kotlin.

Does something like that exist? If not, then is anyone working on it?

Oh, and I don't mean I want one of the many libraries which just compile your code to WASM and run the app in a WebView... I want something that lets me make native UIs - like React Native or Flutter.

Thanks

you are viewing a single comment's thread
view the rest of the comments
[–] Rustmilian 4 points 8 months ago (1 children)

No full Rust toolkit exists yet, best you got is Kotlin-Rust & Flutterust.

[–] [email protected] 4 points 8 months ago (1 children)

Kotlin-rust hasnt had updates in 7 years, Flutterrust in 2 years

[–] Rustmilian 3 points 8 months ago* (last edited 8 months ago)

For Flutter there's also flutter_rust_bridge. But for Kotlin it's pretty much the best you have without having to write your own bindings from scratch, alternatively there's uniffi-rs but it can be tricky to get working with kotlin.