https://kotlinlang.org logo
Title
o

olonho

06/08/2018, 4:24 PM
@channel Kotlin/Native team is pleased to announce release v0.7.1 of our toolchain. This is a bugfixing release, including the following features: * Bugfixes in the runtime (indexOf, GC for kotlin.Array, enum equality) and the compiler * Fix NSBlock problem, preventing upload of binaries to the AppStore * Create primitive type boxes and kotlin.String as frozen by default * Support Gradle 4.7, provide separate run task for each executable * Support XCode 9.4 and CoreML and ClassKit frameworks on Apple platforms * Improved runtime Kotlin variable examination * Minor performance optimizations in compiled code and runtime * Add
disableDesignatedInitializerChecks
definition file support Binaries: * https://download.jetbrains.com/kotlin/native/builds/releases/0.7.1/macos/kotlin-native-macos-0.7.1.tar.gz * https://download.jetbrains.com/kotlin/native/builds/releases/0.7.1/linux/kotlin-native-linux-0.7.1.tar.gz * https://download.jetbrains.com/kotlin/native/builds/releases/0.7.1/windows/kotlin-native-windows-0.7.1.zip GitHub release page is https://github.com/JetBrains/kotlin-native/releases/tag/v0.7.1
🎉 7
n

napperley

06/08/2018, 11:57 PM
In the notes GC is mentioned for kotlin.Array. What is GC (don't think it stands for Garbage Collection)?
o

olonho

06/09/2018, 5:11 AM
yes, GC is for Garbage collection, and in https://github.com/JetBrains/kotlin-native/commit/2934588bbed99b7dbb4c8949c6d580da3d9cdf49 we fixed issue with cyclic collector involving kotlin.Array
n

napperley

06/09/2018, 7:22 AM
So a GC system is currently being developed for Kotlin Native?
o

olonho

06/09/2018, 7:34 AM
GC is a short term for automated memory management, and Kotlin does have it from the day one. Cycle collector was unable to collect cycles with arrays, due to an optimization, which was ignoring leaf objects in cyclic garbage analysis
n

napperley

06/09/2018, 7:41 AM
In other words the GC handles a small part of Kotlin Native that can't be handled by ARC.
o

olonho

06/09/2018, 8:14 AM
Not exactly, GC and automated memory management are same concept, and could be used interchangeable
😕 1