7 ms·
I think Rust is one of the most promising languages for such a shared layer. Can also be used on the web via WASM. This enables native UI with shared business l
by K0nserv 4y ago
I think Rust is one of the most promising languages for such a shared layer. Can also be used on the web via WASM. This enables native UI with shared business logic.
Kotlin Native is another option that still allows native UI on the iOS side.
- LAC-Tech 4y agoPromising - so not there yet in this capacity?
- K0nserv 4y agoNo, I meant more as in haven’t tried it myself. Plenty of folks have done similar things with C and C++, I’m not sure if anyone has done it with Rust yet. Certainly more difficult than Flutter or RN, but if truly native UI is a goal I think it, along with Kotlin Multiplatform, are the best options
- david_allison 4y agoIt's there in this capacity (sharing a common rust backend between Desktop/Android/iOS) https://github.com/ankidroid/Anki-Android-Backend https://github.com/ankidroid/Anki-Android-Backend => https://github.com/ankidroid/anki/tree/9f2920a063e9177cce082faa8aae4e78ea1751dd/rslib https://github.com/ankidroid/anki/tree/9f2920a063e9177cce082...