https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

Marc Knaup

03/06/2019, 4:52 PM
Will multiplatform for iOS become more Swift-like? I can't believe
NSInteger
is back 😢
k

kpgalligan

03/06/2019, 5:25 PM
This is my major research focus at the moment. How are swift devs going to react and how’s the dev experience. Interested in relevant thoughts and developments.
👍 1
r

russhwolf

03/06/2019, 5:52 PM
This is because at the moment Kotlin interops directly only with Objective-C, and just gets Swift interop through the Obj-C interop. Possibly in the future that will change but I think the Kotlin team is waiting for Swift to be ABI stable so that the interop won't break on every new Swift version. Of course someone from Jetbrains could speak to this in more detail
k

kpgalligan

03/06/2019, 5:53 PM
That’s the rumor, but am looking to get some more official word
r

russhwolf

03/06/2019, 5:53 PM
yeah I agree. Would love a roadmap here
k

kpgalligan

03/06/2019, 5:54 PM
In the meantime, adding to reading list: https://swift.org/blog/abi-stability-and-more/
o

olonho

03/06/2019, 7:13 PM
There are technical reasons beyond ABI stability, such as lack of Swift parser in clang (we had to parse headers) and need to be callable from older Objective-C code, but we evaluate possibilities of direct Swift interop
👍 4
k

kpgalligan

03/06/2019, 8:18 PM
“we evaluate possibilities” something maybe in the future, or is this more like “evaluated” and isn’t super likely? I assume it’s not on any concrete plan, but just want to get an idea of where things are. We’re going to be “selling” this to iOS teams and want to be able to speak to this (currently in the process now)
l

louiscad

03/06/2019, 9:41 PM
FYI, Swift ABI became stable in 5.0 very recently.
b

basher

03/06/2019, 11:58 PM
5.0 is coming very soon yes, but it's not out yet. then comes module ABI stability