I have some Kotlin code I’d like to re-use from a Python program/script. Is the best way to do this by using Kotlin Native to create a C library and then use that library from Python? I’ve looked at the Kotlin Native documentation on Github - and it looks like this should be possible.
- is this the best approach?
- if so are there some examples/documentation?