hi does kotlin native work compared to normal kotlin, do you still have a GC?
d
Dominaezzz
02/24/2019, 6:31 PM
Kotlin/Native has a GC. You can tell the GC to chill when interoping with C. (By chill I mean don't destroy an object until I say otherwise).
l
louiscad
02/24/2019, 7:18 PM
Kotlin/Native Beta 1.3.21 has memScoped and a cycle collector, but this is something that could be changed in the future.
n
napperley
02/25/2019, 8:06 PM
Supposedly there is a option in Kotlin Native to turn off the GC and use weak references instead (basically means you have to manage cyclic references manually).