Re:Ask HN: Rust or Swift for system programming?
by pcwalton on Monday July 04, 2016 @08:59PM
(#12033832)
No. Automatic memory management dynamically (at runtime) works out which objects are no longer referenced. Swift's reference counting is a form of automatic memory management because keeping the reference counts up to date is a way of dynamically working out which objects are alive and dead. Rust's ownership system does not: it is static, in that objects are unconditionally freed at specific, static program points.
[ Parent
| on HN ]
There are no comments on this comment yet.