4 ms·
is there any project that would us the same js - native bridge as react native, except with wasm. The idea would be to let us write cross-platform business lev
by bsaul 6y ago
is there any project that would us the same js - native bridge as react native, except with wasm.
The idea would be to let us write cross-platform business level code in any language targeting wasm, while using a native UI framework
- jamil7 6y agoNot 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)