Kotlin-native: Question: GC or MM?

Created on 19 May 2017  路  4Comments  路  Source: JetBrains/kotlin-native

Will Kotlin native be garbage collected or managed manually like C, Rust, etc?

Most helpful comment

@olonho But slack isn't really public. Others like me wouldn't be able to find the conversation.

I found my answer in this issue by Googling.
If it were on slack I wouldn't have found it.

All 4 comments

Kotlin/Native uses automated memory management, currntly based on automated reference counting with cycle collector. See here for details: https://github.com/JetBrains/kotlin-native/blob/master/runtime/src/main/cpp/Memory.cpp

Also not sure if opening an issue is a good way to ask question, I suggest using public Slack server or other ways mentioned at https://kotlinlang.org/community/

@olonho But slack isn't really public. Others like me wouldn't be able to find the conversation.

I found my answer in this issue by Googling.
If it were on slack I wouldn't have found it.

I got my answer here via google too.

Was this page helpful?
0 / 5 - 0 ratings