3 ms·
Not exactly the implementation you described but Kotlin Multiplatform is targeting this workflow. Shared business logic in Kotlin and Native UI on each platform
by jamil7 6y ago
Not exactly the implementation you described but Kotlin Multiplatform is targeting this workflow. Shared business logic in Kotlin and Native UI on each platform. You can currently compile to iOS/Android/Web and Desktops. I imagine the could support wasm at some point too.
Edit: Kotlin Multiplatform not Kotlin Native
- aceisnotmycard 6y agoI think you meant Kotlin Multiplatform: https://kotlinlang.org/docs/reference/mpp-intro.html https://kotlinlang.org/docs/reference/mpp-intro.html. Kotlin/Native is a LLVM-based backend which is used in case of Kotlin Multiplatform for iOS part.
- jamil7 6y agoI absolutely did! thanks. Regarding OPs point I just double checked and it does indeed support WASM as a target now.
- bsaul 6y agokotlin multiplatform looks nice, but my idea of using wasm is to support any PL able to target wasm (and the number seems to grow every day)