On Thu, Aug 23, 2012 at 3:48 PM, Brian Anderson <bander...@mozilla.com> wrote: > > * No data races - there's no complex model describing when variables are > between threads, no volatiles. > * Global GC - Java has notorious stop-the-world GC behavior (though it is > very good). Rust's GC is per-task so when one task is collecting others > continue running in parallel. With care you can in theory write tasks that > never GC. > * Lambda expressions - Rust has a very simple syntax, so Rust code uses > them everywhere, whereas Java needs a lot of ceremony to do function-y > things.
Rust doesn't have null pointer crashes. In fact, I'm kinda ambivalent about calling a language where any reference may blow up "memory safe". IME the vast majority of runtime crashes in Java/C# are null pointer exceptions, so eliminating those are not an insigificant benefit. -- Sebastian Sylvan _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev