Re:D Language accepted for inclusion in GCC
by leshow on Wednesday June 21, 2017 @09:05PM
(#14609375)
Not really, it doesn't count references in the same way. The borrow checker maintains a set of rules that are more expansive than reference counting. For instance the rule that you may only have one &mut at a time, and no other references as long as &mut is alive. It also has something like linear types with ownership rules, where owned values can be used only once.
[ Parent
| on HN ]
There are no comments on this comment yet.