News for hackers. Stuff that matters.
Re:Lock-Free Rust: Crossbeam in 2019 by pcwalton on Wednesday January 30, 2019 @12:59PM (#19037458)
People (including me) always talk about how memory safety without GC is the most important feature of Rust, but just as important is how easy Rust makes fine-grained parallelism. In Rust, you can often start off writing sequential code and then bolt parallelism on after the fact and have it all "just work" with improved performance, thanks to libraries like Crossbeam and Rayon and the way the ownership/borrowing rules enforce data race freedom. That's really powerful.
Re:Lock-Free Rust: Crossbeam in 2019 by est31 on Wednesday January 30, 2019 @07:54PM (#19041250)
And if it doesn't "just work" then there will be a clear error message pointing to the problem instead of nasal demons haunting you. That way you can debug and fix the problem much more easily.
Re:Lock-Free Rust: Crossbeam in 2019 by deepsun on Wednesday January 30, 2019 @06:10PM (#19040612)
Wait, but Crossbeam does have a GC inside it.
Re:Lock-Free Rust: Crossbeam in 2019 by kinghajj on Wednesday January 30, 2019 @06:34PM (#19040779)
Yes, but that's only to support its goal of efficient lock-free data structures, not for Rust's goal of memory safety.