Hi. Is it possible to use some kotlin-based bridge...
# android
n
Hi. Is it possible to use some kotlin-based bridges to C++ instead of JNI?
g
Not really, but you can use usual JNI generation tools for Java (for example we use Djinni, which generates Java code) But maybe there are some projects which generate Kotlin directly, but I’m not aware about them
n
Thanks, will take a look at Djinni!
g
It’s not in the best shape, development is stopped, but we like the whole Djinni approach, because it allows us to have the same API on C++, Kotlin/Java and Swift/ObjC
👍🏼 1
👍 2