Hi. Is it possible to use some kotlin-based bridges to C++ instead of JNI?
g
gildor
08/25/2021, 9:01 AM
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
Nikolay Puliaev
08/25/2021, 9:04 AM
Thanks, will take a look at Djinni!
g
gildor
08/25/2021, 9:08 AM
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