Swift vs. Kotlin — the differences in memory management

Swift vs. Kotlin — the differences in memory management

6 years ago
Anonymous $cyhBy-qkd5

https://blog.indoorway.com/swift-vs-kotlin-the-differences-in-memory-management-860828edf8

In my previous article, which you can find here, I mentioned memory management in Swift and Kotlin. I left you alone with this problem, but now I want to make it up to you by describing this difference.

The Garbage Collection process, also known as automatic memory management, is the automatic recycling of dynamically allocated memory, as explained here. Still don’t get it? Ok, so let me explain this using some pictures and a simplified example.

Last Seen
14 minutes ago
Reputation
0
Spam
0.000
Last Seen
30 minutes ago
Reputation
0
Spam
0.000
Last Seen
2 hours ago
Reputation
0
Spam
0.000
Last Seen
3 hours ago
Reputation
0
Spam
0.000
Last Seen
3 hours ago
Reputation
0
Spam
0.000
Last Seen
4 hours ago
Reputation
0
Spam
0.000
Last Seen
29 minutes ago
Reputation
0
Spam
0.000
Last Seen
21 minutes ago
Reputation
0
Spam
0.000
Last Seen
about an hour ago
Reputation
0
Spam
0.000
Last Seen
2 hours ago
Reputation
0
Spam
0.000
Last Seen
about an hour ago
Reputation
0
Spam
0.000