~/talk

Cooperation of Kotlin/Native GC and ARC on iOS

TalkinRussianat Mobius 2024 Autumn · 2024-10-11..10-20· [kotlin, ios]
links:none on file
slides:none on file

Kotlin Multiplatform use on iOS mixes Swift’s ARC with Kotlin/Native’s garbage collector, so objects can move between ARC-managed and K/N GC–managed memory. The talk explains how Kotlin/Native GC integrates with ARC to make this interaction mostly seamless and describes specific edge cases where the two memory-management systems can conflict.

AI-written summary · about

  1. 0:00Introduction
  2. 2:57Speaker background
  3. 4:24Memory management basics
  4. 10:48Swift and Kotlin object lifecycle
  5. 11:30Memory experiment setup
  6. 12:13Experiment 1: object destruction without retain
  7. 12:34Experiment 2: Kotlin GC impact on objects
  8. 13:15Experiment 3: manual GC trigger
  9. 14:00Experiment 4: object retention in memory
  10. 14:21Experiment 5: Kotlin GC async call
  11. 14:43Intermediate findings and tips
  12. 15:46Passing Swift objects to Kotlin
  13. 16:48Memory Graph analysis
  14. 17:32Object lifetime management
  15. 18:36Autorelease pool issues
  16. 19:38Thread impact on Kotlin GC
  17. 20:49Handling strong reference cycles
  18. 21:32RC vs GC object ownership
  19. 23:15Ownership check implementation
  20. 25:46Mixing Kotlin and Objective-C
  21. 27:54Usage tricks recommendations
  22. 28:37Android memory limits
  23. 29:38iOS memory limits
  24. 31:26Low memory notifications
  25. 33:13Talk summary
  26. 34:18Bonus materials
  27. 35:20Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.