What's the status of C++ interop? I'd like to use ...
# kotlin-native
s
What's the status of C++ interop? I'd like to use Kotlin/Native and Qt for a GUI, as I'm currently using GTK+, but I don't know of a way to make that work.
n
Status of C++ interop hasn't changed. Kotlin Native doesn't have C++ interop due to C++ not having a stable API, and the language is so complex that there are many different subsets that developers use.
s
Sounds about right. I just wish more cross-platform GUI frameworks would offer a C API instead of always sticking with C++...
m
You might find C APIs of Qt. I know some people made some to be able to use Qt with Go
d
Maybe Jetpack Compose might solve this someday.
😍 1
n
I know that JetBrains are currently developing a cross-platform UI framework ( https://www.jetbrains.com/careers/jobs/senior-software-engineer-new-ide-platform-442/ ) that isn't based on JetPack Compose. Will be interesting to see if this is released to the public, and becomes a long term option in Kotlin for GUI development.
❤️ 1
s
"Wow, this job looks great! Let me see where I'd have to relocate to..."
All three locations in Russia
"Ah, never mind"
😂 3
s
hopefully it's using kotlin native and not kotlin jvm, but i doubt it.. they recently created a skia jvm port..
let's creating something new, with the mistakes of the past 🧌