8 ms·
"Swift uses Automatic Reference Counting (ARC) to track and manage your app’s memory usage." https://docs.swift.org/swift-book/documentation/the-swift-programm
by fainpul 5mo ago
"Swift uses Automatic Reference Counting (ARC) to track and manage your app’s memory usage."
https://docs.swift.org/swift-book/documentation/the-swift-programming-language/automaticreferencecounting/ https://docs.swift.org/swift-book/documentation/the-swift-pr...
- bluegatty 5mo agoI meant 'not like rust-Arc' :) ... which is what I thought people were referring to. Yes - it's ref counting, but it's not like 'Arc' at all - ARC is way more thread aware and most 'access' doesn't have to do thread checking. Much faster. So - using Rust 'Arc' would not be at all like using Swift 'ARC' in the end.