Will K/N support C++ interop in future (not soon b...
# kotlin-native
a
Will K/N support C++ interop in future (not soon but some day)?
👀 3
d
Unlikely. Nothing supports C++ interop, not even C++ does.
😆 2
😄 4
g
D does, ObjC++, but it really not the same case as Kotlin
d
Wow! TIL about ObjC++. I didn't think any language would actually put in the work for this.
a
https://kotlinlang.org/roadmap.html Postponed for later
⏸ Interoperability with C++
k
it's certainly way more complex
e
extern “C”
FTW!
👍 2
💯 4
a
Limited interior with C++ is quite important. I do not expect full interior though.
☝️ 1
n
Just imagine the number of C libraries increasing ten fold if every C++ library provided a C library via
extern "C"
🙃 . With that every C++ library would now have its own stable FFI ( https://en.wikipedia.org/wiki/Foreign_function_interface ), that any programming language with C interop support can use; job done! 😆