4 ms·
They're not really in direct competition. Try writing an Android app in Swift, or an iOS app in Kotlin. Technically possibly either way, but one's definitely mo
by barbs 9y ago
They're not really in direct competition. Try writing an Android app in Swift, or an iOS app in Kotlin. Technically possibly either way, but one's definitely more suited than the other for each purpose.
- Cthulhu_ 9y agoThat's more about APIs and vendor support than language tbf. As chance might have it, the Swift documentation has a section on programming for Android: https://github.com/apple/swift/blob/master/docs/Android.md https://github.com/apple/swift/blob/master/docs/Android.md And RoboVM has an article on using Kotlin for iOS development: https://robovm.com/kotlin-for-cross-platform-mobile-app-development/ https://robovm.com/kotlin-for-cross-platform-mobile-app-deve...
- nathan_f77 9y agoWhich one is easier? I need to write some cross-platform native code for my React Native app, and I'm having a really hard time deciding on the language. I honestly didn't know that I could use either Kotlin OR Swift for both platforms. But which would be easier to get running on Windows? I also need to write a version that works on the web, and I've heard that Kotlin can transpile to JS. So that's pretty amazing if that works. Otherwise I was considering C, C++, or Rust.