DEV Community

Discussion on: Rust once and share it with Android, iOS and Flutter

Collapse
 
piannaf profile image
Justin Mancinelli

I love what Rust is doing in the multiplatform space (especially with Wasm). Thank you for highlighting more of what's possible.

Have you also looked into Kotlin Multiplatform? It can also output an iOS framework, and C library. On Android, it's nice because you can benchmark whether your code would work just fine in JVM-land (ART) or if you'd be better off compiling to native code and dealing with JNI overhead.

Jake Wharton gave a talk that broached this topic at Droidcon NYC 2019 droidcon.com/media-detail?video=36...

Rust may outperform compiled Kotlin code, but it's something to keep in mind.