News for hackers. Stuff that matters.
Re:Ask HN: Rust or Swift for system programming? by nenreme on Tuesday July 05, 2016 @04:45AM (#12035142)
Garbage collector frees objects when there are no more references to them. It thus does automatic memory management.

Borrow checker on the other hand doesn't alter lifetimes of objects, instead it doesn't allow you to keep references to things that were destroyed. I.e. it doesn't manage memory.

Re:Ask HN: Rust or Swift for system programming? by winstonewert on Tuesday July 05, 2016 @11:53AM (#12037257)
Sure, but I was talking about Rust's ownership system which certainly does alter the lifetime of objects. Rust automatically frees objects when the owner scope ends.