News for hackers. Stuff that matters.
Re:Swift at Apple: Migrating the Password Monitoring Service... by sweetjuly on Tuesday June 03, 2025 @07:22PM (#44175829)
> Many other GCed languages, such as swift

Swift is not garbage collected, it uses reference counting. So, memory there is freed immediately when it is no longer in scope.

Re:Swift at Apple: Migrating the Password Monitoring Service... by vips7L on Tuesday June 03, 2025 @07:27PM (#44175851)
Reference counting is a form of garbage collection.
Re:Swift at Apple: Migrating the Password Monitoring Service... by pjmlp on Wednesday June 04, 2025 @03:17AM (#44178004)
People really should learn more about CS when discussing these matters.

Chapter 5, https://gchandbook.org/contents.html