Re:Redox: A Rust Operating System
by k__ on Tuesday September 29, 2015 @10:16AM
(#10296428)
I had the impression Rust tries to get memory safety without the need/overhead of GC.
[ Parent
| on HN ]
Re:Redox: A Rust Operating System
by openasocket on Tuesday September 29, 2015 @02:33PM
(#10298469)
I don't know about the borrowing system, but I believe there are several Lisps that avoid mark-sweep garbage collection. NewLisp is one such example, though I think they sidestep the issue by copying everything by default and using efficient allocation/deallocation.
Memory safety is compile-time guaranteed except in unsafe blocks.
It's a little less strong than your impression. Memory absolutely can be a problem, but instead of looking over the entire program to find it, you know the problem comes from a marked unsafe block.