11
ReactNative but Rust? (programming.dev)
submitted 6 months ago by GGORG@programming.dev to c/rust@lemmy.ml

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@lemmy.world 4 points 6 months ago

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

[-] Pantherina@feddit.de 4 points 6 months ago

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

[-] Rustmilian@lemmy.world 3 points 6 months ago* (last edited 6 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.

this post was submitted on 27 Mar 2024
11 points (92.3% liked)

Rust Programming

7734 readers
1 users here now

founded 5 years ago
MODERATORS