News for hackers. Stuff that matters.
Re:Why Rust? [pdf] by JoshTriplett on Wednesday September 09, 2015 @01:58PM (#10192972)
If you directly use low-level locking primitives, no. However, Rust provides many higher-level concurrency mechanisms that avoid the problem entirely. And typically, if you had some complex data structure with multiple levels of locks and ordering requirements on those locks to prevent deadlock, you'd want to encapsulate that data structure with methods that handle those locking requirements internally.
Re:Why Rust? [pdf] by acconsta on Wednesday September 09, 2015 @02:34PM (#10193257)
>Rust provides many higher-level concurrency mechanisms

I'm looking at the standard library and I see only threads and channels. Is there anything higher level? Parallel map, reduce, etc., something like OpenMP?