3 ms·
> I was more talking about the overall not caring theme. Not having to care about memory management gives me more mental energy for caring about the other part
by kibwen 12y ago
> I was more talking about the overall not caring theme.
Not having to care about memory management gives me more mental energy for caring about the other parts of my program. The lack of anxiety about memory semantics is one of the most compelling reasons for me to use Rust.
> Are you saying Rust can find and prevent at compile
> time logic errors as well?
In some ways it certainly can. Its type system guarantees at compile time that your code cannot contain data races, making massive concurrency and parallelism much easier to introduce. You can also push the type system to do things like check units for you, such as is done in Servo: https://blog.mozilla.org/research/2014/06/23/static-checking-of-units-in-servo/ https://blog.mozilla.org/research/2014/06/23/static-checking...