4 ms·
Is kotlin native reference counted like swift or do they use some form of garbage collection? How do they deal with named arguments in Objective—C?
by jernfrost 9y ago
Is kotlin native reference counted like swift or do they use some form of garbage collection?
How do they deal with named arguments in Objective—C?
- speps 9y agoThat article mentions "Object pinning", something usually only useful when you have a GC.
- yoda_sl 9y agoSee the answer for the 2nd comment: Memory management is cooperating with Objectve-C runtime memory mgmt, see https://github.com/JetBrains/kotlin-native/blob/master/runtime/src/main/cpp/Memory.cpp#L398 https://github.com/JetBrains/kotlin-native/blob/master/runti... (function runDeallocationHooks())
- naasking 9y ago> Is kotlin native reference counted like swift or do they use some form of garbage collection? Reference counting is garbage collection.