Kotlin Supports three overall platforms, with Native itself effectively being multi platform, producing even more options:
- Kotlin Native
- windows etc
Some code can is platform independent, and can be run across all platforms. There is also code which is platform dependant, so strategies have to deal with a mix of both cases. These pages describe how:
There is no equivalent to this for Python, and either the entire Python platform is ported or is not available. While R-Python can produce native code, use outside the pypy project is actually discouraged.
Generally, this entire section is for cases where Python is not even an option, so these pages are not specific to moving from kotlin to python.