I need to develop a multiplatform module in Kotlin Native for iOS and Android. According to kotlinlang documentation:
Objective-C and Swift use reference counting. Kotlin/Native has it's own garbage collection too. Kotlin/Native garbage collection is integrated with Objective-C/Swift reference counting.
Does it mean that Kotlin/Native compiled for iOS does not use CMS (Concurrent Mark Sweep) and uses ARC(Automatic Reference Counting)?
Is it possible that common module which written in Kotlin and compiled for iOS might leak and the same module compiled for Android might be completely fine?