4 ms·
> Yes, but idiomatic Rust makes very limited use of it ... This is hardly a positive for Swift; Rust still collects its garbage as much as Swift does; it just
by zozbot123 8y ago
> Yes, but idiomatic Rust makes very limited use of it ...
This is hardly a positive for Swift; Rust still collects its garbage as much as Swift does; it just does so more efficiently by making use of compile-time lifetime analysis (RAII-like), in addition to the RC technique that Swift uses.
- lmm 8y agoYou were the one who was claiming "it's really not different from Rust from that POV". What you dismiss as "it just does so more efficiently" is the entirety of the difference between GC and non-GC languages; Swift is a GC language with everything that entails, and Rust is not.