This commit <https://github.com/JetBrains/kotlin-n...
# kotlin-native
i
This commit https://github.com/JetBrains/kotlin-native/pull/3487 re C++ was closed; I’m wondering if there is a “weeks”, “months”, “years” ballpark idea for creating C++/C#? (and I’m aware of the cppsharp solutions being used). Thanks! Addendum: And please feel free to openly chastise me if I’m asking in the wrong place 😉
m
Interop for C++ and C# would be very very different things. C# is a VM language to begin with and even if you were to compile down to Machine code it has a very heavy runtime. C++ would be closer to the current approach with C but still quite complicated. Biggest problem would probably be the type system with the Standard Library. Template instantiation would be an incredible challenge as well. Combine that with different Compilers, platforms, ABIs and Standard Library implementation and you got a recipe for complexity. While technically not impossible (and definitely made easier by them already using clang) it would definitely be in the years ballpark