Re:Thread Safety Analysis in Clang
by steveklabnik on Wednesday March 29, 2017 @12:37PM
(#13987980)
> still downvoting what they have no idea about.
What specifically do people not have an idea about?
> So why do have to manually mutex or semaphore your threads?
You don't _have_ to, but it is an option. Rust, as a low-level language, provides a number of options for dealing with concurrency. Frankly, I wrote that chapter above and in a hurry; it's my least favorite out of the whole book.
Rust can prove a lack of data-races at compile time, which is a big deal.
What specifically do people not have an idea about?
> So why do have to manually mutex or semaphore your threads?
You don't _have_ to, but it is an option. Rust, as a low-level language, provides a number of options for dealing with concurrency. Frankly, I wrote that chapter above and in a hurry; it's my least favorite out of the whole book.
Rust can prove a lack of data-races at compile time, which is a big deal.