Will multiplatform for iOS become more Swift-like?...
# multiplatform
m
Will multiplatform for iOS become more Swift-like? I can't believe
NSInteger
is back 😢
k
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
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
That’s the rumor, but am looking to get some more official word
r
yeah I agree. Would love a roadmap here
k
In the meantime, adding to reading list: https://swift.org/blog/abi-stability-and-more/
o
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
“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
FYI, Swift ABI became stable in 5.0 very recently.
b
5.0 is coming very soon yes, but it's not out yet. then comes module ABI stability